From 838d4e8c2f212da3954005330e76588bd3032a21 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 15 May 2009 11:11:39 +0200 Subject: [PATCH] remove tmpdir from /tmp, not / --- sbuild-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbuild-wrapper.sh b/sbuild-wrapper.sh index 731e1bd..3cb9013 100755 --- a/sbuild-wrapper.sh +++ b/sbuild-wrapper.sh @@ -10,7 +10,7 @@ set -eu ME="${0##*/}" BUILDDIR="$(mktemp -dt $ME.XXXXXXXX)" -trap "cd / && rm -R '$BUILDDIR'" 0 +trap "cd /tmp && rm -r '$BUILDDIR'" 0 BUNDLE_DIR="${TMPDIR:-/tmp}" TARGET_DIR="$PWD" -- 2.39.5