From: Glenn Morris Date: Sat, 2 Feb 2019 01:56:25 +0000 (-0800) Subject: * make-dist: Avoid "Bad fd number" error with dash. X-Git-Tag: emacs-27.0.90~3686 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4bce79d2a3c06898c7ba2bebb43493008f631a15;p=emacs.git * make-dist: Avoid "Bad fd number" error with dash. --- diff --git a/make-dist b/make-dist index d5373be50e4..ef35c87c355 100755 --- 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