Changeset 13482
- Timestamp:
- May 22, 2007, 3:24:21 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r13459 r13482 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.4 6 2007-05-22 04:22:00price Exp $3 # $Id: Config.pm,v 1.47 2007-05-23 01:24:21 price Exp $ 4 4 5 5 package PS::IPP::Config; … … 354 354 $source = $self->file_resolve( $source ); 355 355 356 system "cp $source $target"; 356 system "cp $source $target" or (carp "Can't copy file $source to $target." and 357 exit($PS_EXIT_DATA_ERROR)); 358 return 1; 357 359 } 358 360 … … 388 390 my $resolved = $self->convert_filename_absolute( $name ); 389 391 my ( $vol, $dirs, $file ) = File::Spec->splitpath( $resolved ); 390 system "mkdir -p $dirs" ;392 system "mkdir -p $dirs" or (carp "Can't create directory $dirs" and exit($PS_EXIT_DATA_ERROR)); 391 393 392 394 return $name;
Note:
See TracChangeset
for help on using the changeset viewer.
