From 3ec7db9002a139aacda4dbffe598de784951ef08 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Aug 2014 19:04:38 -0400 Subject: Rename "srcdir" global variable to "builddir" --- 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 -- cgit v0.9.1