Author: sparky
Date: Mon Nov 2 17:15:59 2009
New Revision: 10927
Modified:
toys/rsget.pl/RSGet/AutoUpdate.pm
Log:
- use mkpath instead of mkdir
Modified: toys/rsget.pl/RSGet/AutoUpdate.pm
==============================================================================
--- toys/rsget.pl/RSGet/AutoUpdate.pm (original)
+++ toys/rsget.pl/RSGet/AutoUpdate.pm Mon Nov 2 17:15:59 2009
@@ -9,6 +9,7 @@
use warnings;
use RSGet::Tools;
use Cwd;
+use File::Path;
set_rev qq$Id$;
@@ -34,7 +35,7 @@
}
my $start_dir = getcwd();
my $svn_dir = $main::local_path;
- mkdir $svn_dir unless -d $svn_dir;
+ mkpath $svn_dir unless -d $svn_dir;
chdir $svn_dir or die "Can't chdir to '$svn_dir'\n";
print "Updating from SVN:\n";
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit