diff options
author | HW42 <hw42@ipsumj.de> | 2016-11-06 18:30:46 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-11-07 13:13:38 +0100 |
commit | 1b62001cab79f186cd4b4d83c8cc0f27d84f2707 (patch) | |
tree | f2c0d702d640bb0b4689960f5dc30adbab09bbd6 /bin/reproducible_build.sh | |
parent | ac3b9e7410dfe33dbe8df8d913bcf0faae343ec1 (diff) | |
download | jenkins.debian.net-1b62001cab79f186cd4b4d83c8cc0f27d84f2707.tar.xz |
reproducible Debian: always build under /build
This way the build-path gets included into the .buildinfo like it will
on buildds.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-x | bin/reproducible_build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index c34de79d..cd261f8d 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -594,7 +594,9 @@ export LANGUAGE="en_US:en" EOF # build path is not yet varied on testing if [ "${SUITE}" != "testing" ]; then - echo "BUILDDIR=/build-1st" >> "$TMPCFG" + echo "BUILDDIR=/build/1st" >> "$TMPCFG" + else + echo "BUILDDIR=/build" >> "$TMPCFG" fi # remember to change the sudoers setting if you change the following command # FIXME: call with --buildinfo-identifier=dummy instead and below @@ -653,7 +655,9 @@ umask 0002 EOF # build path is not yet varied on testing if [ "${SUITE}" != "testing" ]; then - echo "BUILDDIR=/build-2nd" >> "$TMPCFG" + echo "BUILDDIR=/build/2nd" >> "$TMPCFG" + else + echo "BUILDDIR=/build" >> "$TMPCFG" fi set +e # remember to change the sudoers setting if you change the following command |