summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-02-14 05:27:04 (GMT)
committerSteven Knight <knight@baldmt.com>2006-02-14 05:27:04 (GMT)
commitbac3ddcd958b3e1f4c33ad2b6b0dcb09dbeaff6c (patch)
tree3a95657ab680d4288110e8f1046b0d033997bd5f /src/engine
parente845a0765fc8aacfacfc60b096ca09ef3bcb0898 (diff)
downloadSCons-bac3ddcd958b3e1f4c33ad2b6b0dcb09dbeaff6c.zip
SCons-bac3ddcd958b3e1f4c33ad2b6b0dcb09dbeaff6c.tar.gz
SCons-bac3ddcd958b3e1f4c33ad2b6b0dcb09dbeaff6c.tar.bz2
Portability fixes for Repository Java tests; eliminate Solaris package warnings when searching for C++. (Baptiste Lepilleur)
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/SCons/Tool/sunc++.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/sunc++.py b/src/engine/SCons/Tool/sunc++.py
index a6ac10a..36316cb 100644
--- a/src/engine/SCons/Tool/sunc++.py
+++ b/src/engine/SCons/Tool/sunc++.py
@@ -53,7 +53,7 @@ def get_cppc(env):
line = os.popen(cmd).readline()
if line:
cppcVersion = line.split()[-1]
- cmd = "%s -l %s | grep '^Pathname:.*/bin/CC$' | grep -v '/SC[0-9]*\.[0-9]*/'" % (pkgchk, package)
+ cmd = "%s -l %s 2>/dev/null | grep '^Pathname:.*/bin/CC$' | grep -v '/SC[0-9]*\.[0-9]*/'" % (pkgchk, package)
line = os.popen(cmd).readline()
cppcPath = os.path.dirname(line.split()[-1])
break