summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2012-04-12 14:50:42 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2012-04-12 14:58:55 -0300
commitcc971ca645a933172bae3666c856036d8faff543 (patch)
tree0ddc89af631ae4df3f74e7507cc25f2ee2e10bf5 /tools
parentfd3a3eef9b1859a815edac90c0f4e766c17c89dd (diff)
downloadsnowshoe-cc971ca645a933172bae3666c856036d8faff543.tar.gz
Use /scratchbox/login instead of just scratchbox as executable.
This will allow the script to work on non-debian systems that doesn't have the "scratchbox" symlink. Reviewed-by: Luciano Wolf
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build-deploy.sh2
-rwxr-xr-xtools/setup-snowshoe-deps.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/build-deploy.sh b/tools/build-deploy.sh
index 9d5f3cf..f8c504e 100755
--- a/tools/build-deploy.sh
+++ b/tools/build-deploy.sh
@@ -63,7 +63,7 @@ fi
LOGFILE=/tmp/$PROJECTFOLDER-build.txt
# Build project
-scratchbox -s <<EOF
+/scratchbox/login -s <<EOF
cd $PROJECTFOLDER
export PATH=/opt/qt5/bin:\$PATH
$BUILD_COMMAND 2>&1 | tee $LOGFILE
diff --git a/tools/setup-snowshoe-deps.sh b/tools/setup-snowshoe-deps.sh
index 960d784..b31ffc6 100755
--- a/tools/setup-snowshoe-deps.sh
+++ b/tools/setup-snowshoe-deps.sh
@@ -5,7 +5,7 @@ MIRROR_URL=http://qtlabs.org.br/~lmoura/qt5/
# Uncomment line below to use the internal mirror
#MIRROR_URL=http://10.60.5.99/lauro/qt5/
-scratchbox -s <<EOF
+/scratchbox/login -s <<EOF
echo "deb $MIRROR_URL unstable main" >> /etc/apt/sources.list
apt-get update
fakeroot apt-get install -y "qt5-*" webkit-snapshot qt-components2