From e9b90a8650bd6680d0b050f97d9ae052793b631a Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Fri, 24 Dec 2010 00:19:27 +0200 Subject: [PATCH] Minor tweaks to pull-debian-source --- pull-debian-source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pull-debian-source b/pull-debian-source index 6305eee..bdf0fe6 100755 --- a/pull-debian-source +++ b/pull-debian-source @@ -49,7 +49,7 @@ if (! $no_conf) { my $shell_out = `/bin/bash -c '$shell_cmd'`; my %config_values; foreach my $line (split /\n/, $shell_out) { - my($k, $v) = split /=/, $line; + my($k, $v) = split /=/, $line, 2; $config_values{$k} = $v; } $mirror = $config_values{'PULL_DEBIAN_SOURCE_DEBMIRROR'} @@ -182,9 +182,9 @@ Options: -h, --help Show this help message and exit -m DEBMIRROR, --mirror=DEBMIRROR Preferred Debian mirror - (default: http://ftp.debian.org/debian/) + (default: http://ftp.debian.org/debian) -n, --no-fallback If a custom mirror is provided and an error occurs - while downloading, don't fall back to the default. + while downloading, don't fall back to the default --no-conf Don't read config files or environment variables EOF exit($exit);