diff options
author | P. 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) |
commit | 3ec7db9002a139aacda4dbffe598de784951ef08 (patch) | |
tree | af2a81d8c764442f4c8116f755b96c922aebf948 | |
parent | 095c8d713e3d06e71f167d35d873b1faa6cad606 (diff) |
Rename "srcdir" global variable to "builddir"
-rw-r--r-- | lib/locale.sh | 2 | ||||
-rw-r--r-- | src/prokit.sh | 6 |
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 |