summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 72163089..8ee59012 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -10,6 +10,7 @@ common_init "$@"
set -e
cleanup_all() {
+ cd
rm $TMPDIR -r
echo "$(date -u) - $TMPDIR deleted."
}
@@ -134,7 +135,7 @@ SRCPACKAGE=sudo
build_rebuild
#call_diffoscope
-cd ..
+cd
cleanup_all
trap - INT TERM EXIT