summaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-12-11 15:39:49 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-11 15:39:49 +0100
commitc8c056fd203bc60bedb55d45bd8ca81b168391d8 (patch)
tree33c96bc41adc14d0a881d7bf24bc86ad54a5eef2 /g
parentae4e327739112ba326a2945fc0d5550739f3083d (diff)
BUILD_DIR -> BUILDDIR, to be consistent with the other *DIR
Change-Id: Ia80a1246a7e3c8862a50a3daf79aba5609b7df3a
Diffstat (limited to 'g')
-rwxr-xr-xg8
1 files changed, 4 insertions, 4 deletions
diff --git a/g b/g
index 711318b11913..e28509d9d9c1 100755
--- a/g
+++ b/g
@@ -11,8 +11,8 @@ SUBMODULES_ALL="dictionaries helpcontent2 translations"
pushd $(dirname $0) > /dev/null
if [ -f config_host.mk ] ; then
- # we are in the BUILD_DIR
- SRC_ROOT=$(cat ${BUILD_DIR}/config_host.mk | grep SRC_ROOT | sed -e "s/.*=//")
+ # we are in the BUILDDIR
+ SRC_ROOT=$(cat ${BUILDDIR}/config_host.mk | grep SRC_ROOT | sed -e "s/.*=//")
else
SRC_ROOT=$(pwd)
fi
@@ -121,8 +121,8 @@ local repo
get_configured_submodules()
{
SUBMODULES_CONFIGURED=""
- if [ -f "${BUILD_DIR}/config_host.mk" ] ; then
- SUBMODULES_CONFIGURED=$(cat ${BUILD_DIR}/config_host.mk | grep GIT_NEEDED_SUBMODULES | sed -e "s/.*=//")
+ if [ -f "${BUILDDIR}/config_host.mk" ] ; then
+ SUBMODULES_CONFIGURED=$(cat ${BUILDDIR}/config_host.mk | grep GIT_NEEDED_SUBMODULES | sed -e "s/.*=//")
else
# if we need the configured submoduel before the configuration is done. we assumed you want them all
SUBMODULES_CONFIGURED=${SUBMODULES_ALL?}