summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-02-17 11:52:51 +0100
committerHolger Levsen <holger@layer-acht.org>2017-02-17 12:43:27 +0100
commitb248c63969a71bde79beed12022ed43e68b3147f (patch)
treeb10d6a971f592d26ef3400f28391debfaa2e4e6e /bin/reproducible_build.sh
parentf8fc05399b526e69bfae7a0dfcd24412414a90aa (diff)
downloadjenkins.debian.net-b248c63969a71bde79beed12022ed43e68b3147f.tar.xz
reproducible debian: enable again build directory name variation
pbuilder 0.228.4 can do that again Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 9cbeebe0..3378e454 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -694,7 +694,7 @@ EOF
# build path is not yet varied on testing
if [ "${SUITE}" != "testing" ]; then
local src_dir_name="$(perl -mDpkg::Source::Package -e '$_ = Dpkg::Source::Package->new(filename => $ARGV[0])->get_basename; s/_/-/g; print' -- "${SRCPACKAGE}_${EVERSION}.dsc")"
- echo "BUILDDIR=/build/2nd" >> "$TMPCFG"
+ echo "BUILDDIR=/build/$src_dir_name" >> "$TMPCFG"
echo "BUILDSUBDIR=2nd" >> "$TMPCFG"
else
echo "BUILDDIR=/build" >> "$TMPCFG"