summaryrefslogtreecommitdiffstats
path: root/lib/load.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-28 13:23:45 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-28 13:23:45 (EST)
commite644fc98d1e9cd72e75ec40ab5fb779dac71f6d1 (patch)
tree40214e2fc3605c54644e3f11f419deda6b387377 /lib/load.sh
parentd069cf9ec8ba9cbe312546c12aee44ef391fa8f4 (diff)
Use new build system macros in source files.
Diffstat (limited to 'lib/load.sh')
-rw-r--r--lib/load.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/load.sh b/lib/load.sh
index a21ca52..d537b4b 100644
--- a/lib/load.sh
+++ b/lib/load.sh
@@ -22,7 +22,7 @@ _OH_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 oh_use.
-. '@@PKGLIBDIR@@/common.sm'
+. '@pkgdatadir@/common.sm'
oh_use()
{
@@ -34,7 +34,7 @@ oh_use()
return 125
fi
- module='@@PKGLIBDIR@@'"/${module}.sm"
+ module='@pkgdatadir@'"/${module}.sm"
if [ -r "${module}" ]; then
. "${module}"
else