[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
needless error in "missing makeinfo"
From: |
Bruno Haible |
Subject: |
needless error in "missing makeinfo" |
Date: |
Mon, 7 Feb 2005 12:54:54 +0100 |
User-agent: |
KMail/1.5 |
When "missing" is called to emulate makeinfo and the texi file does not have
a @setfilename command, "missing" calls "touch" without arguments, which
leads to exit code 1. Seen with gettext's nls.texi.
Here is a fix, relative to automake-1.9.4.
2002-03-07 Bruno Haible <address@hidden>
* missing (makeinfo): Don't call touch without arguments if the source
texinfo file doesn't contain a @setfilename command.
Reported by Miroslaw Dobrzanski-Neumann <address@hidden>.
*** config/missing.bak 7 Feb 2005 11:53:07 -0000 1.2
--- config/missing 7 Feb 2005 11:56:40 -0000
***************
*** 293,299 ****
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/address@hidden/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
! touch $file
;;
tar)
--- 293,301 ----
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/address@hidden/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
! if test -n "$file"; then
! touch $file
! fi
;;
tar)
- needless error in "missing makeinfo",
Bruno Haible <=