Avoid bashism >&file
The >& form is only for file descriptors, passing a file name there is
a bash extension.
$ /bin/dash -c 'echo foo >&/dev/null'
/bin/dash: 1: Syntax error: Bad fd number
This commit is contained in:
parent
5156feae9d
commit
c2c013970e
4 changed files with 8 additions and 8 deletions
|
|
@ -1,2 +1,2 @@
|
|||
rm -rf test.tmp
|
||||
DESTDIR=$PWD/test.tmp redo ../../install >&install.log
|
||||
DESTDIR=$PWD/test.tmp redo ../../install >install.log 2>&1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue