From 8075c40ae7640d29992d1a8bf9906df416c235c4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 24 Apr 2017 14:05:02 +0200 Subject: reproducible fdroid: fix error in build_all git workspace setup Signed-off-by: Holger Levsen --- bin/reproducible_fdroid_build_apps.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_fdroid_build_apps.sh b/bin/reproducible_fdroid_build_apps.sh index e7310ed4..59b26fbd 100755 --- a/bin/reproducible_fdroid_build_apps.sh +++ b/bin/reproducible_fdroid_build_apps.sh @@ -18,9 +18,10 @@ common_init "$@" # build. jenkins.debian.net does not use Jenkins slaves. Instead # /srv/jenkins/bin/jenkins_master_wrapper.sh runs this script on the # slave using a directl call to ssh. -WORKSPACE=$BASE/fdroid-build +export WORKSPACE=$BASE/fdroid-build if [ -e $WORKSPACE/.git ]; then # reuse the git repo if possible, to keep all the setup in fdroiddata/ + cd $WORKSPACE git clean -fdx git reset --hard git checkout master @@ -29,8 +30,8 @@ if [ -e $WORKSPACE/.git ]; then else rm -rf $WORKSPACE git clone https://gitlab.com/eighthave/fdroidserver-for-jenkins.debian.net.git $WORKSPACE + cd $WORKSPACE fi -cd $WORKSPACE cleanup_all() { echo "$(date -u) - cleanup in progress..." -- cgit v1.2.3-54-g00ecf