Commit 77f416af authored by Peter Eisentraut's avatar Peter Eisentraut

Clean up inconsistent backslash use in paths

Most of the MSVC Perl code uses forward slashes for file paths.  Make
the few places that use backslashes the same.  This also helps running
that code on non-Windows.
parent 8f4fb4c6
...@@ -12,9 +12,9 @@ use Cwd; ...@@ -12,9 +12,9 @@ use Cwd;
use Mkvcbuild; use Mkvcbuild;
chdir('..\..\..') if (-d '..\msvc' && -d '..\..\..\src'); chdir('../../..') if (-d '../msvc' && -d '../../../src');
die 'Must run from root or msvc directory' die 'Must run from root or msvc directory'
unless (-d 'src\tools\msvc' && -d 'src'); unless (-d 'src/tools/msvc' && -d 'src');
# buildenv.pl is for specifying the build environment settings # buildenv.pl is for specifying the build environment settings
# it should contain lines like: # it should contain lines like:
......
...@@ -13,9 +13,9 @@ BEGIN { use lib File::Spec->rel2abs(dirname(__FILE__)); } ...@@ -13,9 +13,9 @@ BEGIN { use lib File::Spec->rel2abs(dirname(__FILE__)); }
use Mkvcbuild; use Mkvcbuild;
chdir('..\..\..') if (-d '..\msvc' && -d '..\..\..\src'); chdir('../../..') if (-d '../msvc' && -d '../../../src');
die 'Must run from root or msvc directory' die 'Must run from root or msvc directory'
unless (-d 'src\tools\msvc' && -d 'src'); unless (-d 'src/tools/msvc' && -d 'src');
die 'Could not find config_default.pl' die 'Could not find config_default.pl'
unless (-f 'src/tools/msvc/config_default.pl'); unless (-f 'src/tools/msvc/config_default.pl');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment