Commit 4bce79d2 authored by Glenn Morris's avatar Glenn Morris

* make-dist: Avoid "Bad fd number" error with dash.

parent f31c83cb
Pipeline #673 failed with stage
in 60 minutes and 1 second
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment