Make the import script handle multiple, rather than just single,
whitespace separators between source and destination files.
Change-Id: I0cc0fdd6ba1ef4bd5407b2e0fd9285ffe902408b
Reviewed-on: http://gerrit.openafs.org/2572
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
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";