Changeset 20646
- Timestamp:
- 2009-09-21T12:04:28+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/scriptutil.pm
r20578 r20646 37 37 my ($removeold, $keepold, $incremental, $dir, $collectcfg) = @_; 38 38 39 # Incremental mode may be set to "none", "onlyadd" or "all"40 # depending on status of -keepold and -incremental flags41 my $incremental_mode = ($incremental) ? "all" : "none";42 43 39 if (($keepold && $removeold) || ($incremental && $removeold) ) { 44 40 gsprintf(STDERR, "{scripts.both_old_options}\n", $dir); … … 47 43 48 44 } 45 46 # Incremental mode may be set to "none", "onlyadd" or "all" 47 # depending on status of -keepold and -incremental flags 48 my $incremental_mode = "none"; 49 if ($incremental) { 50 $incremental_mode = "all"; 51 } elsif ($keepold) { 52 $incremental_mode = "onlyadd"; 53 } 49 54 50 55 if (!$keepold && !$removeold && !$incremental && defined $collectcfg) {
Note:
See TracChangeset
for help on using the changeset viewer.