summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/locale.sh2
-rw-r--r--src/prokit.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index c3f4c9e..31a9064 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -40,7 +40,7 @@ load_locale()
fi
if ${in_place}; then
- localedir="${srcdir}/locale"
+ localedir="${builddir}/locale"
else
localedir="${LOCALEDIR}"
fi
diff --git a/src/prokit.sh b/src/prokit.sh
index 272c64c..b87d1ef 100644
--- a/src/prokit.sh
+++ b/src/prokit.sh
@@ -32,10 +32,10 @@ OPTSTRING='hV'
if [ -f "${0%/*}/../.builddirstamp" ]; then
in_place=true
- srcdir="${0%/*}/.."
+ builddir="${0%/*}/.."
else
in_place=false
- srcdir=''
+ builddir=''
fi
# use() must be defined inline so it can be used to load other modules.
@@ -45,7 +45,7 @@ use()
local dir=
if ${in_place}; then
- dir="${srcdir}/lib"
+ dir="${builddir}/lib"
else
dir="${PKGDATADIR}"
fi