mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
creatensis.pl: fix md5sum verification on filenames with a plus
This commit is contained in:
parent
ee29fa66f9
commit
85d59e648a
@ -166,9 +166,9 @@ foreach my $p ( keys %pkgs ) {
|
||||
|
||||
if( exists $md5{$file} ) {
|
||||
my $md5;
|
||||
open F, "md5sum $file|";
|
||||
open F, "md5sum '$file'|";
|
||||
while(<F>) {
|
||||
if( /^(\S+)\s+\*?$file$/ ) {
|
||||
if( /^(\S+)\s+\*?(.*)$/ && $2 eq $file ) {
|
||||
$md5 = $1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user