diff options
author | joerg <joerg@pkgsrc.org> | 2015-05-19 21:36:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-05-19 21:36:43 +0000 |
commit | 41f4d684ea949e703f7e4cdb02fffeb278231228 (patch) | |
tree | 2b7216a215b93c3db4db0c3a78c3ab11b8eaec34 /devel/bmake/files/os.sh | |
parent | 7cb16bb66575467ac59352068eaec344242b439a (diff) | |
download | pkgsrc-41f4d684ea949e703f7e4cdb02fffeb278231228.tar.gz |
Import bmake-20150505
Diffstat (limited to 'devel/bmake/files/os.sh')
-rw-r--r-- | devel/bmake/files/os.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/bmake/files/os.sh b/devel/bmake/files/os.sh index 487ebfb943e..1aeabdd8381 100644 --- a/devel/bmake/files/os.sh +++ b/devel/bmake/files/os.sh @@ -17,7 +17,7 @@ # Simon J. Gerraty <sjg@crufty.net> # RCSid: -# $Id: os.sh,v 1.1.1.6 2010/09/07 14:11:15 joerg Exp $ +# $Id: os.sh,v 1.1.1.7 2015/05/19 21:36:44 joerg Exp $ # # @(#) Copyright (c) 1994 Simon J. Gerraty # @@ -128,11 +128,13 @@ SunOS) K=-k MAILER=/usr/bin/Mail LOCAL_FS=local - case "$-" in - *i*) ;; + : $-,$ENV + case "$-,$ENV" in + *i*,*) ;; + *,|*ENVFILE*) ;; *) ENV=;; esac - # NetBSD at least has good backward compatability + # NetBSD at least has good backward compatibility # so NetBSD/i386 is good enough case $OS in NetBSD) SHARE_ARCH=$OS/${MACHINE_ARCH:-$MACHINE};; |