You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by sn...@apache.org on 2015/05/13 02:02:22 UTC

incubator-ranger git commit: RANGER-473: adding JAVA_HOME/bin to PATH

Repository: incubator-ranger
Updated Branches:
  refs/heads/master 8cedfa55c -> faad91ad0


RANGER-473: adding JAVA_HOME/bin to PATH


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/faad91ad
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/faad91ad
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/faad91ad

Branch: refs/heads/master
Commit: faad91ad074355f737e099c9864b3dac1a8caae8
Parents: 8cedfa5
Author: sneethiraj <sn...@apache.org>
Authored: Tue May 12 16:38:15 2015 -0700
Committer: sneethiraj <sn...@apache.org>
Committed: Tue May 12 16:38:15 2015 -0700

----------------------------------------------------------------------
 unixauthservice/scripts/setup.sh | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/faad91ad/unixauthservice/scripts/setup.sh
----------------------------------------------------------------------
diff --git a/unixauthservice/scripts/setup.sh b/unixauthservice/scripts/setup.sh
index ed64a36..cf785a1 100755
--- a/unixauthservice/scripts/setup.sh
+++ b/unixauthservice/scripts/setup.sh
@@ -15,4 +15,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+if [ "${JAVA_HOME}" != "" ]
+then
+	export JAVA_HOME
+	PATH="${JAVA_HOME}/bin:${PATH}"
+	export PATH
+fi
+
 ./setup.py