summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_service.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_build_service.sh')
-rwxr-xr-xbin/reproducible_build_service.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index 018d9e9c..1c515d2f 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -22,9 +22,9 @@ BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1
OLD_ID=$(ls -1rt $BUILD_BASE|grep -v latest|sort -n|tail -1)
let BUILD_ID=OLD_ID+1
mkdir -p $BUILD_BASE/$BUILD_ID
-(cd $BUILD_BASE ; ln -sf $BUILD_ID latest)
+ln -sf $BUILD_ID $BUILD_BASE/latest
-export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1
+export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1/
export BUILD_ID=$BUILD_ID
export JOB_NAME="reproducible_builder_$1"