Apache Solr open-source search software
SOLR-590
William Au17c90ce71852
diff --git a/CHANGES.txt b/CHANGES.txtindex 3256e6f4750..fb25ad602f7 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -421,6 +421,8 @@ Bug Fixeshl.usePhraseHighligher=true URL param is used.(Bojan Smid via Otis Gospodnetic)+34. SOLR-590: Limitation in pgrep on Linux platform breaks script-utils fixUser. (Hannes Schmidt via billa)+Other Changes1. SOLR-135: Moved common classes to org.apache.solr.common and altered thebuild scripts to make two jars: apache-solr-1.3.jar anddiff --git a/src/scripts/scripts-util b/src/scripts/scripts-utilindex d8f2a6ae4c3..6b3f0f8f122 100755--- a/src/scripts/scripts-util+++ b/src/scripts/scripts-util@@ -49,7 +49,7 @@ function fixUserif [[ "${oldwhoami}" == "" ]]then- oldwhoami=`ps h -Hfp $(pgrep -g0 ${0##*/}) | tail -1|cut -f1 -d" "`+ oldwhoami=`ps h -Hfp $(pgrep -f -g0 $0) | tail -1|cut -f1 -d" "`fi}