Changeset 34028
- Timestamp:
- Jun 18, 2012, 8:57:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psconfig/pscheckperl
r34026 r34028 5 5 $version = ""; 6 6 $build = 0; 7 $clean = 0; 7 8 my %force; # Names of module to force build 8 9 @tARGV = (); … … 14 15 if ($ARGV[0] eq "-build") { 15 16 $build = 1; 17 shift; next; 18 } 19 if ($ARGV[0] eq "-clean") { 20 $clean = 1; 16 21 shift; next; 17 22 } … … 32 37 if ( @ARGV > 1) { &usage(); } 33 38 39 if ($build && $clean) {die "-build and -clean are incompatible\n";} 40 34 41 if ( @ARGV == 0) { 35 42 @list = <$tagsets/*.perl>; … … 95 102 # if ($modver eq "") { $modver = 0; } 96 103 104 if ($clean) { 105 ($tardir) = $tarball =~ m|(\S*).tar.gz|; 106 $tardir = "../extperl/$tardir"; 107 if (-d $tardir) { 108 print "remove tardir: $tardir\n"; 109 vsystem ("rm -rf $tardir"); 110 } 111 next; 112 } 113 97 114 system ("pscheckmods $module $modver"); 98 115 if (($? == 0) and not defined $force{$module} and not defined $force{'all'}) {
Note:
See TracChangeset
for help on using the changeset viewer.
