summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index d4998bd6..d1bc5f34 100755
--- a/urpmq
+++ b/urpmq
@@ -198,7 +198,7 @@ if ($options{list_aliases}) {
foreach (@{$urpm->{media}}) {
$_->{update} and print "--update ";
$_->{virtual} and print "--virtual ";
- $_->{mirrorlist} and print "--mirrorlist $_->{mirrorlist} ";
+ $_->{mirrorlist} and print "--mirrorlist '$_->{mirrorlist}' ";
print escape_shell($_->{name}), " ";
print escape_shell($_->{mirrorlist} ? $_->{'with-dir'} : $_->{url}), " " if !$_->{mirrorlist} || $_->{'with-dir'};
$_->{with_synthesis} and print "with " . escape_shell($_->{with_synthesis});