You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2016/10/21 23:00:57 UTC

lucene-solr:master: SOLR-9325: Remove unnecessary search/replace in installer script

Repository: lucene-solr
Updated Branches:
  refs/heads/master 91f58ac72 -> c9cf0eff0


SOLR-9325: Remove unnecessary search/replace in installer script


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c9cf0eff
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c9cf0eff
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c9cf0eff

Branch: refs/heads/master
Commit: c9cf0eff03763d151a04baccb5530445d5d5feb5
Parents: 91f58ac
Author: Jan H�ydahl <ja...@apache.org>
Authored: Sat Oct 22 01:00:48 2016 +0200
Committer: Jan H�ydahl <ja...@apache.org>
Committed: Sat Oct 22 01:00:48 2016 +0200

----------------------------------------------------------------------
 solr/bin/install_solr_service.sh | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c9cf0eff/solr/bin/install_solr_service.sh
----------------------------------------------------------------------
diff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.sh
index 6b9df79..a23612f 100755
--- a/solr/bin/install_solr_service.sh
+++ b/solr/bin/install_solr_service.sh
@@ -344,8 +344,6 @@ if [ -f "$SOLR_VAR_DIR/log4j.properties" ]; then
   echo -e "\n$SOLR_VAR_DIR/log4j.properties already exists. Skipping install ...\n"
 else
   cp "$SOLR_INSTALL_DIR/server/resources/log4j.properties" "$SOLR_VAR_DIR/log4j.properties"
-  sed_expr="s#solr.log=.*#solr.log=\${solr.solr.home}/../logs#"
-  sed -i -e "$sed_expr" "$SOLR_VAR_DIR/log4j.properties"
 fi
 chown -R "$SOLR_USER:" "$SOLR_VAR_DIR"
 find "$SOLR_VAR_DIR" -type d -print0 | xargs -0 chmod 0750