This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
[perl5.git] / cflags.SH
index 8f9c249..af1b43b 100755 (executable)
--- a/cflags.SH
+++ b/cflags.SH
@@ -17,7 +17,7 @@ case "$0" in
 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
 esac
 
-if test -f config_h.SH && ! test -f config.h; then
+if test -f config_h.SH -a ! -f config.h; then
     . ./config_h.SH
     CONFIG_H=already-done
 fi