Mercurial > illumos > illumos-gate
changeset 13281:6bd011e48176
692 ws needs to set CLOSED_IS_PRESENT
Reviewed by: roland.mainz@nexenta.com
Reviewed by: garrett@nexenta.com
Approved by: garrett@nexenta.com
author | Dan McDonald <danmcd@nexenta.com> |
---|---|
date | Thu, 03 Feb 2011 12:45:01 -0800 |
parents | 06213a128175 |
children | 3f73413df1b2 |
files | usr/src/tools/scripts/ws.sh |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/tools/scripts/ws.sh Wed Feb 02 14:26:35 2011 -0800 +++ b/usr/src/tools/scripts/ws.sh Thu Feb 03 12:45:01 2011 -0800 @@ -23,7 +23,7 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" +# Copyright 2011 Nexenta Systems, Inc. All rights reserved. # # This script sets up the environment variables for a SunOS # codemgr workspace and spawns a shell with the environment @@ -353,6 +353,14 @@ osbld_flag=0 +if [[ ! -v CLOSED_IS_PRESENT ]]; then + if [[ -d $SRC/../closed ]]; then + export CLOSED_IS_PRESENT="yes" + else + export CLOSED_IS_PRESENT="no" + fi +fi + if [[ -z "$ONBLD_DIR" ]]; then ONBLD_DIR=$(dirname $(whence $0)) fi