automake-patches
[Top][All Lists]
Advanced

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

FYI: missing `;' in distcheck


From: Alexandre Duret-Lutz
Subject: FYI: missing `;' in distcheck
Date: Thu, 05 Sep 2002 12:23:14 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

I'm checking the following patch in.
The symptom was

  bash: -c: line 23: syntax error near unexpected token `}'

FWIW bash versions behave differently:

(atlaua 149)> bash --version
GNU bash, version 2.03.0(1)-release (sparc-sun-solaris)
Copyright 1998 Free Software Foundation, Inc.
(atlaua 150)> bash -c 'true || { (echo foo) }'
bash: -c: line 1: syntax error near unexpected token `}'
bash: -c: line 1: `true || { (echo foo) }'
(atlaua 151)> bash -c 'true || { (echo foo); }'
(atlaua 152)> 


~ % bash --version
GNU bash, version 2.05b.0(2)-release (i386-pc-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.
~ % bash -c 'true || { (echo foo) }'
~ % bash -c 'true || { (echo foo); }'
~ % 

2002-09-05  Alexandre Duret-Lutz  <address@hidden>

        * lib/am/distdir.am: Add missing `;'.

Index: lib/am/distdir.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/distdir.am,v
retrieving revision 1.36
diff -u -r1.36 distdir.am
--- lib/am/distdir.am   8 Jun 2002 16:56:10 -0000       1.36
+++ lib/am/distdir.am   5 Sep 2002 10:20:09 -0000
@@ -307,7 +307,7 @@
               && (test `find "$$dc_destdir" -type f -print | wc -l` -le 1 \
                   || { echo "ERROR: files left after uninstall (check DESTDIR 
support):" ; \
                        find "$$dc_destdir" -type f -print ; \
-                       exit 1; } >&2 ) \
+                       exit 1; } >&2 ); \
              } || { rm -rf "$$dc_destdir"; exit 1; }) \
          && rm -rf "$$dc_destdir" \
          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \

-- 
Alexandre Duret-Lutz





reply via email to

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