]> git.eshelyaron.com Git - emacs.git/commitdiff
* make-dist: Avoid "Bad fd number" error with dash.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2019 01:56:25 +0000 (17:56 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Feb 2019 01:56:25 +0000 (17:56 -0800)
make-dist

index d5373be50e446eb411470f573938a3d190fbb689..ef35c87c355f11afe81210b5c253225515ead0a8 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -496,7 +496,7 @@ if [ "${make_tar}" = yes ]; then
    case $default_gzip in
      cat) tar $taropt -cf - $emacsname;;
      *) if tar $taropt -cf /dev/null --use-compress-program="$default_gzip" \
-              $emacsname/src/lisp.h >& /dev/null
+              $emacsname/src/lisp.h > /dev/null 2>&1
        then
          tar $taropt -cf - --use-compress-program="$default_gzip" $emacsname
        else