Skip to content

Commit

Permalink
creatensis.pl: fix md5sum verification on filenames with a plus
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 5, 2017
1 parent ee29fa6 commit 85d59e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ms-windows/osgeo4w/creatensis.pl
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ sub getDeps {

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;
}
}
Expand Down

0 comments on commit 85d59e6

Please sign in to comment.