]> git.pld-linux.org Git - projects/distfiles.git/commitdiff
Add simple quoting.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 10 Jun 2014 19:02:35 +0000 (21:02 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 10 Jun 2014 19:02:35 +0000 (21:02 +0200)
file-fetcher.pl

index d8b7533c82a040d8739658a65910d85556014326..22462478be73aa03379efc659384e8ef61d5ac83 100755 (executable)
@@ -111,7 +111,7 @@ sub got_on_distfiles($$)
 {
   my ($md5, $url) = @_;
   my $p = by_md5($md5, $url);
-  my $l = `lftp -c 'debug 0; open $df_server; quote size $p'`;
+  my $l = `lftp -c 'debug 0; open $df_server; quote size \"$p\"'`;
   return $l =~ /^213 /;
 }
 
This page took 0.096063 seconds and 4 git commands to generate.