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 <[email protected]>
Authored: Tue May 12 16:38:15 2015 -0700
Committer: sneethiraj <[email protected]>
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

Reply via email to