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

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

Thread Previous
From:
Steve Peters
Date:
March 30, 2007 06:01
Subject:
Re: [PATCH] cflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
Message ID:
20070330130045.GA13493@kirk.peters.homeunix.org
On Fri, Mar 30, 2007 at 04:44:11AM +0300, Jarkko Hietaniemi wrote:
> --- 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

Thanks!  I applied this last night with change #30779.

Steve Peters
steve@fisharerojo.org

Thread Previous


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