Changeset 28800
- Timestamp:
- Jul 30, 2010, 10:13:46 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/DataStoreServer/scripts/dsreg (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStoreServer/scripts/dsreg
r28789 r28800 332 332 333 333 if ( !-e $src or !-r $src) { 334 print STDERR " file $src does not exist or is not accessible\n";334 print STDERR "source file $src does not exist or is not accessible\n"; 335 335 exit $PS_EXIT_SYS_ERROR; 336 336 } 337 if ( -e $dest ) { 338 print STDERR "destination $dest already exists removing\n"; 339 if (! unlink $dest ) { 340 print STDERR "failed trying to unlink $dest\n"; 341 exit $PS_EXIT_SYS_ERROR; 342 } 343 } 344 337 345 if ($linkfiles) { 338 346 if (! symlink $src, $dest) {
Note:
See TracChangeset
for help on using the changeset viewer.
