emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4bce79d: * make-dist: Avoid "Bad fd number" error w


From: Glenn Morris
Subject: [Emacs-diffs] master 4bce79d: * make-dist: Avoid "Bad fd number" error with dash.
Date: Fri, 1 Feb 2019 20:56:33 -0500 (EST)

branch: master
commit 4bce79d2a3c06898c7ba2bebb43493008f631a15
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * make-dist: Avoid "Bad fd number" error with dash.
---
 make-dist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make-dist b/make-dist
index d5373be..ef35c87 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]