summaryrefslogtreecommitdiffstats
path: root/misc-scripts/make-sourceball
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 13:08:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 13:08:47 +0200
commit388d629327d97e8d15a7a67cc87ae36edfe2f385 (patch)
tree90ce2c10e99915370467e3e468bf807154391235 /misc-scripts/make-sourceball
parentff0745c50507f0cea48dbf97b8f55734698e3c13 (diff)
downloaddbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.gz
dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.xz
use common workdir
Diffstat (limited to 'misc-scripts/make-sourceball')
-rwxr-xr-xmisc-scripts/make-sourceball3
1 files changed, 0 insertions, 3 deletions
diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball
index 41767d0..e216356 100755
--- a/misc-scripts/make-sourceball
+++ b/misc-scripts/make-sourceball
@@ -22,8 +22,6 @@ _arch="$3"
srcpath="$FTP_BASE/sources/"
logpath="/var/log/sourceballs/"
-WORKDIR="/tmp/make-sourceball.$packagename.$UID"
-
cleanup() {
restore_umask
rm -rf "$WORKDIR"
@@ -77,7 +75,6 @@ trap ctrl_c 2
trap cleanup 0 1
set_umask
-/bin/mkdir -p "$WORKDIR"
/bin/mkdir -p "$logpath"
cd "$WORKDIR"