summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 399f077)
raw | patch | inline | side by side (parent: 399f077)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Thu, 27 Nov 2008 11:27:47 +0000 (06:27 -0500) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Thu, 27 Nov 2008 11:27:47 +0000 (06:27 -0500) |
SunOS make will work only out of snapshots and releases.
tools/tinderbox_build | patch | blob | history |
diff --git a/tools/tinderbox_build b/tools/tinderbox_build
index ab4234aa87365a1fba1611447b7186ef12e5b0e1..5035b60374fc6a61fd68b7c4cee112ccf0ab4f9d 100755 (executable)
--- a/tools/tinderbox_build
+++ b/tools/tinderbox_build
$Path = $ENV{PATH};
print "Path before: $Path\n";
- if ( $OS eq 'SunOS' ) {
- $ENV{'PATH'} = '/usr/ccs/bin:' . $ENV{'PATH'};
+ # Don't alter path if we're building off a repository tree;
+ # SunOS make will work only out of snapshots and releases.
+ if ( $OS eq 'SunOS' && !( -e '.svn' || -e '.git' )) {
+ $ENV{'PATH'} = '/usr/ccs/bin:' . $ENV{'PATH'};
}
$Path = $ENV{PATH};