develooper Front page | perl.perl5.porters | Postings from March 2007

[PATCH] cflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')

Thread Next
From:
Jarkko Hietaniemi
Date:
March 29, 2007 18:45
Subject:
[PATCH] cflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
Message ID:
200703300144.l2U1iBSA490663@kosh.hut.fi
--- cflags.SH.dist	2007-03-30 04:38:48.000000000 +0300
+++ cflags.SH	2007-03-30 04:40:08.000000000 +0300
@@ -17,7 +17,7 @@
 */*) 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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About