[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2105] nagiosplug/trunk/tools/tinderbox_build
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Thu Nov 27 15:17:23 CET 2008
Revision: 2105
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2105&view=rev
Author: dermoth
Date: 2008-11-27 14:17:23 +0000 (Thu, 27 Nov 2008)
Log Message:
-----------
tinderbox: Don't alter SunOS path if we're building off a repository tree
SunOS make will work only out of snapshots and releases.
Modified Paths:
--------------
nagiosplug/trunk/tools/tinderbox_build
Modified: nagiosplug/trunk/tools/tinderbox_build
===================================================================
--- nagiosplug/trunk/tools/tinderbox_build 2008-11-27 02:31:21 UTC (rev 2104)
+++ nagiosplug/trunk/tools/tinderbox_build 2008-11-27 14:17:23 UTC (rev 2105)
@@ -234,8 +234,10 @@
$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};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list