summaryrefslogtreecommitdiff
path: root/devel/bmake/files/os.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/os.sh')
-rw-r--r--devel/bmake/files/os.sh10
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};;