diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-19 19:39:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-19 19:39:45 +0000 |
commit | 56931437e3976faa6675712f89d5e79262407ca3 (patch) | |
tree | f2d9f95b080c61733da151aff6d3cc1fbc5426d0 /tests/sample-test | |
parent | 5051a33ba6921f5305ef2b564a0873948f2dc293 (diff) | |
download | coreutils-56931437e3976faa6675712f89d5e79262407ca3.tar.xz |
Use automatically-derived name for temporary
directory. This is more 8.3-friendly. Based on a suggestion from Richard Dawe.
Diffstat (limited to 'tests/sample-test')
-rw-r--r-- | tests/sample-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sample-test b/tests/sample-test index 81cf1abe6..a409bd12c 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -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 |