Changeset 36282
- Timestamp:
- 2022-07-04T12:14:49+12:00 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs-release-builder/envi/lib/util.pl
r36212 r36282 1 1 use File::Basename; 2 2 3 3 4 #envi messages … … 218 219 my ($name, $value) = split(/=/,$line,2); 219 220 if ( $name !~ /^\_/ ) { 220 221 $ENV{$name} = $value; 221 222 } 222 223 } elsif ( $line eq "-- ENVIRONMENT \"$rnd\" --" ) { … … 228 229 229 230 sub source_bash_script { 230 if ( ! exists $_[0] ) { return; }231 if ( ! -e $_[0] ) { print "Script $_[0] not found\n"; exit; } 231 232 source_script("bash","$_[0]"); 232 233 } 233 234 234 235 sub source_batch_script { 235 if ( ! exists $_[0] ) { return; }236 if ( ! -e $_[0] ) { print "Script $_[0] not found\n"; exit; } 236 237 source_script("bat","$_[0]"); 237 238 }
Note:
See TracChangeset
for help on using the changeset viewer.