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:
Tommi Virtanen 2015-08-27 06:57:27 -07:00 committed by Avery Pennarun
commit c2c013970e
4 changed files with 8 additions and 8 deletions

View file

@ -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