2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr>
authorTom Tromey <tromey@redhat.com>
Sun, 17 Mar 2002 22:56:25 +0000 (22:56 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 17 Mar 2002 22:56:25 +0000 (22:56 +0000)
* tests/dirforbid.test: Workaround for NetBSD sh bug.
Fixes PR automake/305.

ChangeLog
tests/dirforbid.test

index 97adeec..4deb7b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-17  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/dirforbid.test: Workaround for NetBSD sh bug.
+       Fixes PR automake/305.
+
 2002-03-11  Richard Boulton <richard@tartarus.org>
 
        * automake.in (check_typos): Allow variables with reserved
index 814930d..efb3646 100755 (executable)
@@ -18,6 +18,7 @@ for i in data_PROGRAMS lib_HEADERS ; do
 $i = foo
 END
   $ACLOCAL
-  $AUTOMAKE -a && exit 1
+  # This strange syntax works around NetBSD Problem Report #11542.
+  $AUTOMAKE -a && exit 1 || :
 done
 :