From 98dbd6b62458b1bd5b52e3c0326be17da82c3b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Sat, 11 Nov 2023 10:42:07 +0100 Subject: [PATCH] Skipped generating solrconfig.xml file copies in generate-solr-config.sh (#58) --- bin/generate-solr-config.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/generate-solr-config.sh b/bin/generate-solr-config.sh index cb51ee84..ab986946 100755 --- a/bin/generate-solr-config.sh +++ b/bin/generate-solr-config.sh @@ -120,7 +120,9 @@ fi # Adapt autoSoftCommit to have a recommended value, and remove add-unknown-fields-to-the-schema sed -i.bak '//d' $DESTINATION_DIR/solrconfig.xml -sed -i.bak2 's/${solr.autoSoftCommit.maxTime:-1}/${solr.autoSoftCommit.maxTime:20}/' $DESTINATION_DIR/solrconfig.xml +sed -i.bak 's/${solr.autoSoftCommit.maxTime:-1}/${solr.autoSoftCommit.maxTime:20}/' $DESTINATION_DIR/solrconfig.xml + +rm $DESTINATION_DIR/solrconfig.xml.bak if [ "$GENERATE_SOLR_TMPDIR" != "" ]; then echo Removing temp dir: $GENERATE_SOLR_TMPDIR