Changeset 13491 for trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
- Timestamp:
- May 23, 2007, 2:16:08 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r13482 r13491 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Config.pm,v 1.4 7 2007-05-23 01:24:21price Exp $3 # $Id: Config.pm,v 1.48 2007-05-24 00:16:08 price Exp $ 4 4 5 5 package PS::IPP::Config; … … 390 390 my $resolved = $self->convert_filename_absolute( $name ); 391 391 my ( $vol, $dirs, $file ) = File::Spec->splitpath( $resolved ); 392 system "mkdir -p $dirs" or (carp "Can't create directory $dirs" and exit($PS_EXIT_DATA_ERROR)); 392 unless (-d $dirs) { 393 system "mkdir -p $dirs" or (carp "Can't create directory $dirs" and exit($PS_EXIT_DATA_ERROR)); 394 } 393 395 394 396 return $name;
Note:
See TracChangeset
for help on using the changeset viewer.
