summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-12-22 12:34:18 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-12-22 12:34:18 (EST)
commit7d34edb493d373eb28c43dbe150f936853944a7c (patch)
treee6963f2d6e40f52d729af90bb8f5373361acdb3e
parent38f47edb4b858884ae63d0d4ca6aeab2ac0895e0 (diff)
lib/load.sh: Neuter ob_use(), don't load modules
-rw-r--r--lib/load.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/load.sh b/lib/load.sh
index e0fe366..7cdaf5f 100644
--- a/lib/load.sh
+++ b/lib/load.sh
@@ -22,7 +22,7 @@ _OB_LOAD_SM=1
# The "common" module is used by this and all other modules.
# We have to manually load the "common" module so we can use it in ob_use.
-. "${PKGLIBDIR}/common.sho"
+# . "${PKGLIBDIR}/common.sho"
ob_use()
{
@@ -36,7 +36,7 @@ ob_use()
module="${PKGLIBDIR}/${module}.sho"
if [ -r "${module}" ]; then
- . "${module}"
+ : . "${module}"
else
return 1
fi