Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-590

William Au17c90ce71852
diff --git a/CHANGES.txt b/CHANGES.txt
index 3256e6f4750..fb25ad602f7 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -421,6 +421,8 @@ Bug Fixes
hl.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 Changes
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
build scripts to make two jars: apache-solr-1.3.jar and
diff --git a/src/scripts/scripts-util b/src/scripts/scripts-util
index d8f2a6ae4c3..6b3f0f8f122 100755
--- a/src/scripts/scripts-util
+++ b/src/scripts/scripts-util
@@ -49,7 +49,7 @@ function fixUser
if [[ "${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
}