p4raw-id: //depot/perl@26911
my $state;
my $file;
my $filename;
- $filename = dirname($0) . "/state/state.$ext[$i]";
+ $filename = File::Spec->catfile(dirname($0),
+ "state", "state." . $ext[$i]);
$file = File::Spec->canonpath($filename);
unless ($state = Digest::SHA->load($file)) {
$state = Digest::SHA->new($ext[$i]);