diff --git a/src/external/import-external-git.pl b/src/external/import-external-git.pl index e03abc401a..5a279d3b8a 100755 --- a/src/external/import-external-git.pl +++ b/src/external/import-external-git.pl @@ -49,7 +49,7 @@ my $fh = IO::File->new("$externalDir/$module-files") or die "Couldn't open mapping file : $!\n"; while (<$fh>) { next if /^\s#/; - if (/^(.+)\s+(.+)$/) { + if (/^(\S+)\s+(\S+)$/) { $mapping{$1} = $2; } elsif (/\w+/) { die "Unrecognised line in mapping file : $_\n";