Update of /cvsroot/mhonarc/devtools/bin
In directory subversions:/tmp/cvs-serv21057/bin
Modified Files:
release
Log Message:
* release:
+ Added ability to set PATH to use via configuration file.
Index: release
===================================================================
RCS file: /cvsroot/mhonarc/devtools/bin/release,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** release 15 May 2002 06:49:24 -0000 1.17
--- release 28 May 2002 05:06:31 -0000 1.18
***************
*** 205,208 ****
--- 205,213 ----
_RELEASE_VERSION => $version,
);
+
+ if ($CONFIG->{'PATH'}) {
+ $ENV{'PATH'} = $CONFIG->{'PATH'};
+ }
+
$ENV{'TZ'} = $ENV_ORG{'TZ'}
if defined $ENV_ORG{'TZ'};
***************
*** 849,852 ****
--- 854,867 ----
# make target name to invoke.
MK_TARGET_RELEASE => 'release',
+
+ # Program search path to use when performing release.
+ PATH => join(':',
+ '/usr/local/bin',
+ '/opt/sfw/bin', # Solaris
+ '/usr/ccs/bin', # Solaris
+ '/usr/bin',
+ '/bin',
+ '/usr/X11R6/bin',
+ '/usr/openwin/bin'), # Solaris
# Pathname to project releases.
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV