Merge pull request #217256 from helsinki-systems/deb-closure-quote-urls

build-support/vm/deb/deb-closure: quote generated urls
This commit is contained in:
Jörg Thalheim 2023-02-20 09:35:54 +01:00 committed by GitHub
commit d69bb82f56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ foreach my $pkgName (@order) {
$cleanedName =~ s/~//g;
print " (fetchurl {\n";
print " url = $urlPrefix/$cdata->{Filename};\n";
print " url = \"$urlPrefix/$cdata->{Filename}\";\n";
print " sha256 = \"$cdata->{SHA256}\";\n";
print " name = \"$cleanedName\";\n" if $cleanedName ne $origName;
print " })\n";