tests: simpler workaround for shells losing the exit status in exit trap
[platform/upstream/automake.git] / t / java3.sh
index 356d0c2..a4652fd 100755 (executable)
@@ -18,7 +18,7 @@
 # *.java files when there are none.
 # Report from Johannes Nicolai (PR/441).
 
-. ./defs || Exit 1
+. ./defs || exit 1
 
 cat >> configure.ac << 'END'
 AM_CONDITIONAL([WHO_CARES], [false])
@@ -46,7 +46,7 @@ $AUTOMAKE
 $MAKE
 $MAKE install
 ls -l .
-find . -name '*.class' | grep . && Exit 1
+find . -name '*.class' | grep . && exit 1
 # If we have nothing to install, we shouldn't create any installation
 # directory.  Related to automake bug#11030.
 test ! -d _inst