projects
/
platform
/
upstream
/
automake.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: simpler workaround for shells losing the exit status in exit trap
[platform/upstream/automake.git]
/
t
/
link_f_only.sh
diff --git
a/t/link_f_only.sh
b/t/link_f_only.sh
index
25f3ef9
..
5d27025
100755
(executable)
--- a/
t/link_f_only.sh
+++ b/
t/link_f_only.sh
@@
-17,7
+17,7
@@
# Test to make sure the Fortran 77 linker is used when appropriate.
# Matthew D. Langston <langston@SLAC.Stanford.EDU>
# Test to make sure the Fortran 77 linker is used when appropriate.
# Matthew D. Langston <langston@SLAC.Stanford.EDU>
-. ./defs ||
E
xit 1
+. ./defs ||
e
xit 1
cat >> configure.ac << 'END'
AC_PROG_F77
cat >> configure.ac << 'END'
AC_PROG_F77
@@
-38,7
+38,7
@@
$AUTOMAKE
grep '.\$(F77LINK)' Makefile.in
# We should not see these patterns:
grep '.\$(F77LINK)' Makefile.in
# We should not see these patterns:
-grep '.\$(CXXLINK)' Makefile.in &&
E
xit 1
-grep '.\$(LINK)' Makefile.in &&
E
xit 1
+grep '.\$(CXXLINK)' Makefile.in &&
e
xit 1
+grep '.\$(LINK)' Makefile.in &&
e
xit 1
-
E
xit 0
+
e
xit 0