Skip to content

Apache Lucene open-source search software

SOLR-13977: solr create -c not working under Windows 10

Jan Høydahl936f4b6ee9cd
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d2e7f79939d..aaa6be88f44 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -247,6 +247,8 @@ Bug Fixes
* SOLR-13941: Tests configure Jetty differently than when running via start.jar (janhoy, Uwe Schindler)
+* SOLR-13977: solr create -c not working under Windows 10 (janhoy)
+
================== 8.3.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index 792e621a05e..b48c537209b 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -16,6 +16,8 @@
@echo off
+@REM Make sure to keep line endings as CRLF for .cmd files
+
IF "%OS%"=="Windows_NT" setlocal enabledelayedexpansion enableextensions
set "PASS_TO_RUN_EXAMPLE="