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')
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 30 Mar 2007 04:44:11 +0000 (07:44 +0300)
committerSteve Peters <steve@fisharerojo.org>
Fri, 30 Mar 2007 03:24:22 +0000 (03:24 +0000)
Message-Id: <200703300144.l2U1iBSA490663@kosh.hut.fi>

p4raw-id: //depot/perl@30779

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