summaryrefslogtreecommitdiffstats
path: root/contrib/bmake/os.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/os.sh')
-rwxr-xr-xcontrib/bmake/os.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/bmake/os.sh b/contrib/bmake/os.sh
index 9e45f37..b714eb7 100755
--- a/contrib/bmake/os.sh
+++ b/contrib/bmake/os.sh
@@ -17,7 +17,7 @@
# Simon J. Gerraty <sjg@crufty.net>
# RCSid:
-# $Id: os.sh,v 1.44 2010/06/29 15:37:21 sjg Exp $
+# $Id: os.sh,v 1.46 2014/05/19 16:38:09 sjg 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};;
OpenPOWER on IntegriCloud