summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2019-02-01 17:56:25 -0800
committerGlenn Morris <rgm@gnu.org>2019-02-01 17:56:25 -0800
commit4bce79d2a3c06898c7ba2bebb43493008f631a15 (patch)
tree2e5d5b0d5bf509965b25cf1265a3f5e539a2e27e /make-dist
parentf31c83cba790cb58699e894f0c8ad46d314ff868 (diff)
downloademacs-4bce79d2a3c06898c7ba2bebb43493008f631a15.tar.gz
* make-dist: Avoid "Bad fd number" error with dash.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist2
1 files changed, 1 insertions, 1 deletions
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