Repository: incubator-ranger
Updated Branches:
  refs/heads/master 878e2ac3f -> ddf9cfa74


RANGER-329: condition to copy db jar file is removed - during enable script

Signed-off-by: sneethiraj <[email protected]>


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

Branch: refs/heads/master
Commit: ddf9cfa74f22a7852430324e1c57be87dc72078e
Parents: 878e2ac
Author: sneethiraj <[email protected]>
Authored: Mon Mar 23 21:34:23 2015 -0400
Committer: sneethiraj <[email protected]>
Committed: Mon Mar 23 22:43:35 2015 -0400

----------------------------------------------------------------------
 agents-common/scripts/enable-agent.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/ddf9cfa7/agents-common/scripts/enable-agent.sh
----------------------------------------------------------------------
diff --git a/agents-common/scripts/enable-agent.sh 
b/agents-common/scripts/enable-agent.sh
index 30b8953..a880850 100755
--- a/agents-common/scripts/enable-agent.sh
+++ b/agents-common/scripts/enable-agent.sh
@@ -435,8 +435,8 @@ fi
 if [ "${action}" = "enable" ]
 then
 
-       if [ -d "${PROJ_LIB_DIR}" ]
-       then
+       #if [ -d "${PROJ_LIB_DIR}" ]
+       #then
                dt=`date '+%Y%m%d%H%M%S'`
                dbJar=$(getInstallProperty 'SQL_CONNECTOR_JAR')
                for f in ${PROJ_LIB_DIR}/*.jar ${dbJar}
@@ -455,7 +455,7 @@ then
                                fi
                        fi
                done
-       fi
+       #fi
 
        #
        # Encrypt the password and keep it secure in Credential Provider API

Reply via email to