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/01/05 00:51:55 UTC
svn commit: r1722989 - in /lucene/dev/branches/branch_5x/solr: CHANGES.txt
bin/solr
Author: janhoy
Date: Mon Jan 4 23:51:55 2016
New Revision: 1722989
URL: http://svn.apache.org/viewvc?rev=1722989&view=rev
Log:
SOLR-8486: No longer require jar/unzip for bin/solr (backport)
Modified:
lucene/dev/branches/branch_5x/solr/CHANGES.txt
lucene/dev/branches/branch_5x/solr/bin/solr
Modified: lucene/dev/branches/branch_5x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/CHANGES.txt?rev=1722989&r1=1722988&r2=1722989&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_5x/solr/CHANGES.txt Mon Jan 4 23:51:55 2016
@@ -233,6 +233,8 @@ Other Changes
* SOLR-8481: TestSearchPerf no longer needs to duplicate SolrIndexSearcher.(NO_CHECK_QCACHE|NO_CHECK_FILTERCACHE)
(Christine Poerschke)
+* SOLR-8486: No longer require jar/unzip for bin/solr (Steven E. Harris, janhoy)
+
================== 5.4.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
Modified: lucene/dev/branches/branch_5x/solr/bin/solr
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/bin/solr?rev=1722989&r1=1722988&r2=1722989&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/bin/solr (original)
+++ lucene/dev/branches/branch_5x/solr/bin/solr Mon Jan 4 23:51:55 2016
@@ -49,15 +49,6 @@ SOLR_SCRIPT="$0"
verbose=false
THIS_OS=`uname -s`
-if hash jar 2>/dev/null ; then # hash returns true if jar is on the path
- UNPACK_WAR_CMD=("$(command -v jar)" xf)
-elif hash unzip 2>/dev/null ; then # hash returns true if unzip is on the path
- UNPACK_WAR_CMD=("$(command -v unzip)" -q)
-else
- echo -e "This script requires extracting a WAR file with either the jar or unzip utility, please install these utilities or contact your administrator for assistance."
- exit 1
-fi
-
stop_all=false
# for now, we don't support running this script from cygwin due to problems