SHA256
6
0
forked from pool/gzip
OBS User unknown
2007-04-15 08:49:40 +00:00
committed by Git OBS Bridge
parent 177644aa74
commit 2e54e398f9
5 changed files with 18 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
# block is the disk block size (best guess, need not be exact)
warn="(does not preserve modes and timestamp)"
-tmp=/tmp/zfoo.$$
-tmp=${TMPDIR-/tmp}/zfoo.$$
-set -C
+dtmp=`mktemp -d -t znew.XXXXXXXX` || exit
+trap 'rm -rf $dtmp' HUP INT PIPE TERM 0