]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use automatically-derived name for temporary
authorJim Meyering <jim@meyering.net>
Fri, 19 Apr 2002 19:39:45 +0000 (19:39 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 19 Apr 2002 19:39:45 +0000 (19:39 +0000)
directory.  This is more 8.3-friendly.  Based on a suggestion from Richard Dawe.

tests/sample-test

index 81cf1abe6463723281725176571e1beaba49ab0f..a409bd12c9b9f6b783a5ff9fde8e2a7889378246 100644 (file)
@@ -12,7 +12,7 @@ fi
 # FIXME: PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
 
 pwd=`pwd`
-tmp=FIXME.$$
+tmp=`echo "$0"|sed 's,.*/,,'`.tmp
 trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0
 trap '(exit $?); exit' 1 2 13 15