From 56931437e3976faa6675712f89d5e79262407ca3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 19 Apr 2002 19:39:45 +0000 Subject: Use automatically-derived name for temporary directory. This is more 8.3-friendly. Based on a suggestion from Richard Dawe. --- tests/sample-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/sample-test') 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 -- cgit v1.2.3-54-g00ecf