This is an automated email from the ASF dual-hosted git repository. pradeep pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push: new 3246f85 RANGER-2546 Replace hard-coded python with in setup.sh 3246f85 is described below commit 3246f85e8d08b53426e17a30527e24917aea2cec Author: xingpeng1 <xing.pe...@zte.com.cn> AuthorDate: Thu Aug 22 16:57:45 2019 +0800 RANGER-2546 Replace hard-coded python with in setup.sh Signed-off-by: Pradeep <prad...@apache.org> --- kms/scripts/setup.sh | 4 ++-- security-admin/scripts/setup.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kms/scripts/setup.sh b/kms/scripts/setup.sh index c430ef9..68f1f3f 100755 --- a/kms/scripts/setup.sh +++ b/kms/scripts/setup.sh @@ -187,7 +187,7 @@ updatePropertyToFile(){ #Update Properties to File #$1 -> propertyName $2 -> newPropertyValue $3 -> fileName updatePropertyToFilePy(){ - python update_property.py $1 $2 $3 + $PYTHON_COMMAND_INVOKER update_property.py $1 $2 $3 check_ret_status $? "Update property failed for: {'$1'}" } @@ -298,7 +298,7 @@ run_dba_steps(){ log "[I] Setup mode is set to SeparateDBA. Not Running DBA steps. Please run dba_script.py before running setup..!"; else log "[I] Setup mode is not set. Running DBA steps.."; - python dba_script.py -q + $PYTHON_COMMAND_INVOKER dba_script.py -q fi } check_db_connector() { diff --git a/security-admin/scripts/setup.sh b/security-admin/scripts/setup.sh index c3c67bb..9677f57 100755 --- a/security-admin/scripts/setup.sh +++ b/security-admin/scripts/setup.sh @@ -221,7 +221,7 @@ getPropertyFromFile(){ #Update Properties to File #$1 -> propertyName $2 -> newPropertyValue $3 -> fileName updatePropertyToFilePy(){ - python update_property.py $1 "${2}" $3 + $PYTHON_COMMAND_INVOKER update_property.py $1 "${2}" $3 check_ret_status $? "Update property failed for: " $1 } @@ -291,7 +291,7 @@ run_dba_steps(){ log "[I] Setup mode is set to SeparateDBA. Not Running DBA steps. Please run dba_script.py before running setup..!"; else log "[I] Setup mode is not set. Running DBA steps.."; - python dba_script.py -q + $PYTHON_COMMAND_INVOKER dba_script.py -q fi } check_ranger_version(){