Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2017-07-14 13:47:49 +0300
committerMikkel Krautz <mikkel@krautz.dk>2017-07-14 13:47:49 +0300
commitc2a3e2f55800b15bc4251900b9f42464e2330702 (patch)
tree1c7b861bc6975b24c171a84f425a44a0f499bd7c /scripts/mkini-win32.bat
parent9d4691cbefd17494a1a40063ab317e02ebb58fd9 (diff)
scripts/mkini-win32.bat: perform LF -> CRLF conversion.
This ensures that murmur.ini on Windows installations has Windows-style line endings, allowing admins to use Notepad to edit the file. Fixes mumble-voip/mumble#3101
Diffstat (limited to 'scripts/mkini-win32.bat')
-rwxr-xr-xscripts/mkini-win32.bat10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/mkini-win32.bat b/scripts/mkini-win32.bat
index 09358de31..5e63c6041 100755
--- a/scripts/mkini-win32.bat
+++ b/scripts/mkini-win32.bat
@@ -3,4 +3,12 @@
:: that can be found in the LICENSE file at the root of the
:: Mumble source tree or at <https://www.mumble.info/LICENSE>.
-copy murmur.ini murmur.ini.win32
+:: Copy murmur.ini to murmur.ini.win32, and convert
+:: LF -> CRLF so Windows users can edit murmur.ini in
+:: Notepad.
+::
+:: Note that the 'more' command also expands tabs
+:: to spaces. This isn't a problem right now, since
+:: we don't use tabs in murmur.ini -- and even if
+:: we did, they wouldn't be significant.
+type murmur.ini | more /p > murmur.ini.win32