diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2014-01-12 16:21:19 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2014-01-13 00:59:35 +0400 |
commit | f623a695ca0a17c0bb86a012c7a9b18390e08e83 (patch) | |
tree | 1c62cd24d667e76c1d3a2a8e3197a91c72d82d8b /scripts/mkini-win32.bat | |
parent | 4323a21b837daf74e7287638c1248810f56c3317 (diff) |
scripts/mkini-win32.bat: use ',' as substitution delimiter; also fix regexp.
Using '!' as the delimiter has an unfortunate clash with cmd.exe's
delayed expansion feature. When delayed expansion is enabled, the
substitution would fail with a syntax error because cmd.exe had
mangled the substitution string before passing it to Perl.
This commit also fixes the regular expression to match the one
found in mkini.sh.
Diffstat (limited to 'scripts/mkini-win32.bat')
-rwxr-xr-x | scripts/mkini-win32.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkini-win32.bat b/scripts/mkini-win32.bat index b0169d961..652117073 100755 --- a/scripts/mkini-win32.bat +++ b/scripts/mkini-win32.bat @@ -1,4 +1,4 @@ copy murmur.ini murmur.ini.win32 -perl -pi.bak -e "s!^(#^|)ice=!ice=!" murmur.ini.win32 +perl -pi.bak -e "s,^(#|)ice=,ice=," murmur.ini.win32 |