]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
remove `dir' in trap, too
authorJim Meyering <jim@meyering.net>
Mon, 21 Aug 2000 09:41:56 +0000 (09:41 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 21 Aug 2000 09:41:56 +0000 (09:41 +0000)
tests/cp/same-file

index 09c535c374de7acc0c38c653402ecfb4c6568b17..6220b4f310ac0b7a402ecfccb4a733c0191fef31 100755 (executable)
@@ -16,7 +16,7 @@ pwd=`pwd`
 actual=actual-$$
 expected=expected-$$
 
-trap 'status=$?; cd $pwd; rm -rf $actual $expected && exit $status' 0
+trap 'status=$?; cd $pwd; rm -rf dir $actual $expected && exit $status' 0
 trap 'exit $?' 1 2 13 15
 
 exec 1> $actual