From: Jim Meyering Date: Mon, 21 Aug 2000 09:41:56 +0000 (+0000) Subject: remove `dir' in trap, too X-Git-Tag: FILEUTILS-4_0z~129 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4ff47b028e672664d79a24cd18d3a8f26aac9ac5;p=thirdparty%2Fcoreutils.git remove `dir' in trap, too --- diff --git a/tests/cp/same-file b/tests/cp/same-file index 09c535c374..6220b4f310 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -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