mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
tinderbox: Don't alter SunOS path if we're building off a repository tree
SunOS make will work only out of snapshots and releases.
This commit is contained in:
parent
399f0770b2
commit
d40abb2504
1 changed files with 4 additions and 2 deletions
|
|
@ -234,8 +234,10 @@ sub SetupPath {
|
|||
$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};
|
||||
|
|
|
|||
Loading…
Reference in a new issue