summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2016-07-22 06:20:44 -0400
committerAttila Molnar <attilamolnar@hush.com>2016-07-22 12:20:44 +0200
commita46d0c010d92a84574f175fc490538db93e7e860 (patch)
treeede9aa8a8ecef18fefcaa71d78595411a3fc8bcc
parentc8602a49931e31593efefa45f141a06ce8e9a90f (diff)
Tell git to store .bat files as CRLF (#1030)
-rw-r--r--.gitattributes1
-rw-r--r--win/make_gnutls_cert.bat26
2 files changed, 14 insertions, 13 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..ec1c66dc1
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.bat text eol=crlf
diff --git a/win/make_gnutls_cert.bat b/win/make_gnutls_cert.bat
index 97792cc29..159cd1012 100644
--- a/win/make_gnutls_cert.bat
+++ b/win/make_gnutls_cert.bat
@@ -1,14 +1,14 @@
-@echo off
-
-echo This program will generate SSL certificates for m_ssl_gnutls.so
-echo Ensure certtool.exe is in your system path. It can be downloaded
-echo at ftp://ftp.gnu.org/gnu/gnutls/w32/. If you do not know the answer
-echo to one of the questions just press enter.
-echo.
-
-pause
-
-certtool --generate-privkey --outfile conf/key.pem
-certtool --generate-self-signed --load-privkey conf/key.pem --outfile conf/cert.pem
-
+@echo off
+
+echo This program will generate SSL certificates for m_ssl_gnutls.so
+echo Ensure certtool.exe is in your system path. It can be downloaded
+echo at ftp://ftp.gnu.org/gnu/gnutls/w32/. If you do not know the answer
+echo to one of the questions just press enter.
+echo.
+
+pause
+
+certtool --generate-privkey --outfile conf/key.pem
+certtool --generate-self-signed --load-privkey conf/key.pem --outfile conf/cert.pem
+
pause \ No newline at end of file