]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Reapply earlier fix.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2005 12:02:38 +0000 (12:02 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:09 +0000 (12:12 +0200)
ChangeLog
config/missing

index 347c211e2b495c212e58a3dc6b30af211608da82..8664c54491fe252629090e743b8d6a909b4b5fe6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
        * config/install-sh: Upgrade to automake-1.9.4.
        * config/mdate-sh: Upgrade to automake-1.9.4.
        * config/missing: Upgrade to automake-1.9.4.
+       2002-03-07  Bruno Haible  <bruno@clisp.org>
+               * config/missing (makeinfo): Don't call touch without arguments
+               if the source texinfo file doesn't contain a @setfilename
+               command.
+               Reported by Miroslaw Dobrzanski-Neumann <mne@mosaic-ag.com>.
        * config/mkinstalldirs: Upgrade to automake-1.9.4.
        * config/ylwrap: Upgrade to automake-1.9.4.
        Reported by Albert Chin-A-Young <china@thewrittenword.com>.
index 64b5f901dd558f301c33a0fb99466b48eb58a27f..7e58e7fbb3f1850ddc7d38ee05c5fc1eb0707a36 100755 (executable)
@@ -293,7 +293,9 @@ WARNING: \`$1' is $msg.  You should only need it if
       file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
       file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
     fi
-    touch $file
+    if test -n "$file"; then
+      touch $file
+    fi
     ;;
 
   tar)