Changeset 20822
- Timestamp:
- Nov 24, 2008, 11:40:02 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_destreak.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak.pl
r20791 r20822 121 121 } 122 122 123 # create the output directories if it is not a nebulous path and it doesn't exist 124 if (index($outroot, "neb://") != 0) { 125 if (! -e $outroot ) { 126 mkdir $outroot 127 or &my_die("cannot create output directory $outroot", $magic_ds_id, $component, 128 $PS_EXIT_UNKNOWN_ERROR); 129 } 130 } 131 123 132 my $backup_path_base; 124 133 if (! $remove) { … … 128 137 my $recovery_path_base; 129 138 if ($recoveryroot) { 139 if (index($recoveryroot, "neb://") != 0) { 140 if (! -e $recoveryroot ) { 141 mkdir $recoveryroot 142 or &my_die("cannot create output directory $recoveryroot", $magic_ds_id, $component, 143 $PS_EXIT_UNKNOWN_ERROR); 144 } 145 } 130 146 $recovery_path_base = "$recoveryroot/$basename"; 131 147 } … … 183 199 $command .= " -recovery $recoveryroot" if defined $recoveryroot; 184 200 $command .= " -astrom $astrom" if defined $astrom; 185 # XXX: remove this skip mask and weight images for now 186 # $command .= " -mask $mask" if defined $mask; 187 # $command .= " -weight $weight" if defined $weight; 201 $command .= " -mask $mask" if defined $mask; 202 $command .= " -weight $weight" if defined $weight; 188 203 $command .= " -skycelllist $skycell_list" if defined $skycell_list; 189 204 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
