projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeabe74
)
Use 1>&2 rather than `1<&-'.
author
Jim Meyering
<jim@meyering.net>
Thu, 9 Dec 1999 15:52:49 +0000
(15:52 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 9 Dec 1999 15:52:49 +0000
(15:52 +0000)
Suggestion from Volker Borchert.
tests/cp/cp-mv-backup
patch
|
blob
|
history
diff --git
a/tests/cp/cp-mv-backup
b/tests/cp/cp-mv-backup
index
b861248
..
2437d5a
100755
(executable)
--- a/
tests/cp/cp-mv-backup
+++ b/
tests/cp/cp-mv-backup
@@
-17,7
+17,9
@@
actual=$dir/actual
expected=$dir/expected
# Be careful to close $actual before removing the containing directory.
-trap "cd $pwd; exec 1<&-; rm -rf $dir" 0 1 2 3 15
+# Use `1>&2' rather than `1<&-' since the latter appears not to work
+# with /bin/sh from powerpc-ibm-aix4.2.0.0.
+trap "cd $pwd; exec 1>&2; rm -rf $dir" 0 1 2 3 15
mkdir $dir
unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIX