SF.net SVN: nagiosplug:[2105] nagiosplug/trunk/tools/tinderbox_build
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/