Changeset 13912
- Timestamp:
- Jun 19, 2007, 5:29:53 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psconfig/psbuild (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/psbuild
r12868 r13912 57 57 @ARGV = @tARGV; 58 58 59 if ( @ARGV != 1) { &usage (); } 60 61 $distribution = $ARGV[0]; 59 if ( @ARGV == 0) { 60 @list = <$tagsets/*.dist>; 61 $distribution = $list[-1]; 62 } else { 63 $distribution = "$tagsets/$ARGV[0].dist"; 64 } 65 62 66 &load_distfile (); 63 67 … … 202 206 # open and read the distribution file 203 207 # results go into @cvsname, @branchtag, @branchver, @mode 204 $file = "$tagsets/$ARGV[0].dist"; 205 open (FILE, $file) || die "ERROR: can't open distribution file $file\n"; 208 open (FILE, $distribution) || die "ERROR: can't open distribution file $distribution\n"; 206 209 @list = <FILE>; 207 210 close (FILE);
Note:
See TracChangeset
for help on using the changeset viewer.
