Skip to content

Commit fb37962

Browse files
committed
Make CC_HOME unset by default
[git-p4: depot-paths = "//dev/main.cpp/": change = 99940]
1 parent 87c5b1b commit fb37962

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

bin/cfgcommon.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# Copyright (c) 2000, 2022, Oracle and/or its affiliates.
3+
# Copyright (c) 2000, 2023, Oracle and/or its affiliates.
44
#
55
# Licensed under the Universal Permissive License v 1.0 as shown at
66
# https://oss.oracle.com/licenses/upl.
@@ -13,9 +13,9 @@
1313
#
1414
# This script is responsible for the following environment variables:
1515
#
16-
# DEV_ROOT e.g. /home/jhowes/dev/main.cpp
17-
# ANT_HOME e.g. /home/jhowes/dev/main.cpp/tools/common/ant
18-
# CC_HOME e.g. /usr
16+
# DEV_ROOT e.g. /home/user/dev/main.cpp
17+
# ANT_HOME e.g. /home/user/dev/main.cpp/tools/common/ant
18+
# CC_HOME e.g.
1919
# CLASSPATH e.g.
2020
# PATH e.g. $ANT_HOME/bin:$JAVA_HOME/bin:$CC_HOME/bin:$PATH
2121
#
@@ -98,8 +98,7 @@ ANT_HOME=$DEV_ROOT/tools/internal/common/ant
9898
#
9999
if [ $(uname) == "SunOS" ]; then
100100
CC_HOME=/opt/SunProd/studio12u1/p11/sunstudio12.1
101-
else
102-
CC_HOME=/usr
101+
# else - assume the compiler is already in the PATH on other platforms
103102
fi
104103

105104
#

0 commit comments

Comments
 (0)