summaryrefslogtreecommitdiffstats
path: root/misc-scripts/sourceballs-cleanup
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/sourceballs-cleanup
parentff0745c50507f0cea48dbf97b8f55734698e3c13 (diff)
downloaddbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.gz
dbscripts-388d629327d97e8d15a7a67cc87ae36edfe2f385.tar.xz
use common workdir
Diffstat (limited to 'misc-scripts/sourceballs-cleanup')
-rwxr-xr-xmisc-scripts/sourceballs-cleanup2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc-scripts/sourceballs-cleanup b/misc-scripts/sourceballs-cleanup
index d259d3a..c87a888 100755
--- a/misc-scripts/sourceballs-cleanup
+++ b/misc-scripts/sourceballs-cleanup
@@ -7,7 +7,6 @@ srcpath="$FTP_BASE/sources/"
logfile="$srcpath/cleanup.txt"
LOCKFILE="/tmp/.sourceball-cleanup.lock"
-WORKDIR="/tmp/sourceball-cleanup.$packagename.$UID"
cleanup () {
restore_umask
@@ -68,7 +67,6 @@ trap ctrl_c 2
/usr/bin/renice +10 -p $$ > /dev/null
set_umask
-/bin/mkdir -p "$WORKDIR"
cd "$WORKDIR"
[ -e "$logfile" ] && /bin/mv "$logfile" "$logfile.old"