Changeset 38564
- Timestamp:
- Jul 2, 2015, 9:41:58 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_bundle.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_bundle.pl
r37077 r38564 201 201 202 202 my $file_name = $file->{name}; 203 204 # look for file names that were processed remotely (LANL or UH Cray for example) 205 # and change them to nebulous names 206 if ( !($file_name =~ '^neb:') ) { 207 # XXX: These two definitions should probably live in a config file 208 my @remote_paths_to_replace = ('/lus/scratch/watersc', '/scratch3/watersc1'); 209 my $local_path = 'neb://any'; 210 # find filenames that begin with the remote paths and change them to a nebulous path 211 foreach my $remote_path (@remote_paths_to_replace) { 212 if ($file_name =~ "^$remote_path") { 213 $file_name =~ s{^$remote_path}{$local_path}; 214 last; 215 } 216 } 217 } 203 218 my $path = $ipprc->file_resolve($file_name); 204 219
Note:
See TracChangeset
for help on using the changeset viewer.
