Skip to content
Permalink
Browse files

Fix scripts that use well-known temp files.

  • Loading branch information...
BrendanCunningham committed Sep 21, 2015
1 parent 3117bba commit 5f4087aabb5d03c42738b320af0fc60e9df4d1f7
@@ -30,9 +30,10 @@

# [ICS VERSION STRING: unknown]

TEMP1=/tmp/smdiffa$$
TEMP2=/tmp/smdiffb$$
TEMP1=`mktemp`
TEMP2=`mktemp`
trap "rm -f $TEMP1 $TEMP2; exit 1" SIGHUP SIGTERM SIGINT
trap "rm -f $TEMP1 $TEMP2" EXIT

Usage()
{
@@ -30,8 +30,9 @@

# [ICS VERSION STRING: unknown]

TEMP=/tmp/smgen$$
TEMP=`mktemp`
trap "rm -f $TEMP; exit 1" SIGHUP SIGTERM SIGINT
trap "rm -f $TEMP" EXIT

Usage()
{

0 comments on commit 5f4087a

Please sign in to comment.
You can’t perform that action at this time.