clean /tmp propery like other scripts; prodded by deraadt@
This commit is contained in:
parent
3befc7bd1e
commit
b967f9f705
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: maketars,v 1.3 2007/08/05 22:26:02 todd Exp $
|
||||
# $OpenBSD: maketars,v 1.4 2008/12/24 00:15:24 todd Exp $
|
||||
|
||||
# xy
|
||||
RELEASE=$1
|
||||
@ -26,8 +26,8 @@ pwd=`pwd`
|
||||
listsdir=`pwd`/lists
|
||||
tardir=$RELEASEDIR
|
||||
|
||||
TMPDIR=`mktemp -d /tmp/_maketarsx.XXXXXXXXXX`
|
||||
trap 'rm -f $TMP1 $TMP2; rmdir $TMPDIR; exit 1' 1 15
|
||||
TMPDIR=`mktemp -d /tmp/_maketarsx.XXXXXXXXXX` || exit 1
|
||||
trap 'rm -f $TMP1 $TMP2; rmdir $TMPDIR' 0 1 15
|
||||
TMP1=$TMPDIR/one
|
||||
TMP2=$TMPDIR/two
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user