Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/thawn/ttmp32gme
Browse files Browse the repository at this point in the history
  • Loading branch information
thawn committed Feb 14, 2021
2 parents c5e5922 + 8848ba9 commit a8b1adf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/TTMp32Gme/Build/FileHandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ sub checkConfigFile {
$cfgToCopy->copy_to($configfile)
or die "Could not create local copy of config file '$cfgToCopy': $!";
}
return $configfile;
if ( $^O =~ /MSWin/ ) {
return Win32::GetShortPathName($configfile);
} else {
return $configfile;
}
}

sub loadStatic {
Expand Down

0 comments on commit a8b1adf

Please sign in to comment.