diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-22 00:32:04 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-22 00:32:04 (EST) |
commit | 510d76b6c87c4779a60519a94a5b0938809c1cb7 (patch) | |
tree | 05a6e66d96604cbed222beac0b058f004dfd5719 /lib/load.sh | |
parent | 4ff14be6da04e6a5c9e09dc74d2def000837356d (diff) |
libopkbuild: Use shpp
Diffstat (limited to 'lib/load.sh')
-rw-r--r-- | lib/load.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/load.sh b/lib/load.sh index 2bf77bc..9f52766 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.sm' +. "${PKGLIBDIR}/common.sm" ob_use() { @@ -34,7 +34,7 @@ ob_use() return 125 fi - module='@@PKGLIBDIR@@'"/${module}.sm" + module="${PKGLIBDIR}/${module}.sm" if [ -r "${module}" ]; then . "${module}" else |