summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 8ee59012..fe3f3cbf 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -32,8 +32,8 @@ first_build() {
echo "============================================================================="
set -x
schroot --begin-session --session-name=$SRCPACKAGE -c jenkins-reproducible-arch
- schroot --run-session -c $SRCPACKAGE --directory /tmp -- cp -r /var/abs/core/$PKG /tmp
- schroot --run-session -c $SRCPACKAGE --directory /tmp/$PKG -- makepkg --skippgpcheck
+ schroot --run-session -c $SRCPACKAGE --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE /tmp
+ schroot --run-session -c $SRCPACKAGE --directory /tmp/$SRCPACKAGE -- makepkg --skippgpcheck
schroot --end-session -c $SRCPACKAGE
if ! "$DEBUG" ; then set +x ; fi
}
@@ -46,8 +46,8 @@ second_build() {
echo "============================================================================="
set -x
schroot --begin-session --session-name=$SRCPACKAGE -c jenkins-reproducible-arch
- schroot --run-session -c $SRCPACKAGE --directory /tmp -- cp -r /var/abs/core/$PKG /tmp
- schroot --run-session -c $SRCPACKAGE --directory /tmp/$PKG -- makepkg --skippgpcheck
+ schroot --run-session -c $SRCPACKAGE --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE /tmp
+ schroot --run-session -c $SRCPACKAGE --directory /tmp/$SRCPACKAGE -- makepkg --skippgpcheck
schroot --end-session -c $SRCPACKAGE
if ! "$DEBUG" ; then set +x ; fi
}