summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-15 19:04:38 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-15 19:04:38 (EDT)
commit3ec7db9002a139aacda4dbffe598de784951ef08 (patch)
treeaf2a81d8c764442f4c8116f755b96c922aebf948 /src
parent095c8d713e3d06e71f167d35d873b1faa6cad606 (diff)
Rename "srcdir" global variable to "builddir"
Diffstat (limited to 'src')
-rw-r--r--src/prokit.sh6
1 files changed, 3 insertions, 3 deletions
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