diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-07-27 08:30:39 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-07-27 08:30:39 +0000 |
commit | 77c4f8446ab30751957d22d00a3fe7831ad0084f (patch) | |
tree | f035a439b6639f5c7b3021a71baf87f5199b8875 | |
parent | f6c4e6af24e27bba62c21d408703867b40fe5f8e (diff) | |
download | rpmdrake-77c4f8446ab30751957d22d00a3fe7831ad0084f.tar rpmdrake-77c4f8446ab30751957d22d00a3fe7831ad0084f.tar.gz rpmdrake-77c4f8446ab30751957d22d00a3fe7831ad0084f.tar.bz2 rpmdrake-77c4f8446ab30751957d22d00a3fe7831ad0084f.tar.xz rpmdrake-77c4f8446ab30751957d22d00a3fe7831ad0084f.zip |
Don't take into account empty command-line options
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ foreach (@ARGV) { if ($val =~ /=/) { my ($name, $values) = split /=/, $val; my @values = split /,/, $values; - $options{$name} = \@values; + $options{$name} = \@values if @values; } else { $options{$val} = 1; } |