SVN: toys/rsget.pl/rsget.pl
sparky
sparky at pld-linux.org
Sat Oct 3 19:05:49 CEST 2009
Author: sparky
Date: Sat Oct 3 19:05:49 2009
New Revision: 10662
Modified:
toys/rsget.pl/rsget.pl
Log:
- don't preset use_svn
Modified: toys/rsget.pl/rsget.pl
==============================================================================
--- toys/rsget.pl/rsget.pl (original)
+++ toys/rsget.pl/rsget.pl Sat Oct 3 19:05:49 2009
@@ -11,9 +11,7 @@
our $local_path = $install_path;
our %def_settings;
-our %settings = (
- use_svn => [ "no", undef ]
-);
+our %settings;
unshift @INC, $install_path;
@@ -25,7 +23,7 @@
my @ifs;
parse_args();
-if ( $settings{use_svn}->[0] =~ /^(yes|update)$/ ) {
+if ( $settings{use_svn} and $settings{use_svn}->[0] =~ /^(yes|update)$/ ) {
$local_path = $cdir;
unshift @INC, $local_path;
More information about the pld-cvs-commit
mailing list