From cef06c1e4849ea93644c17af89b56b3f17d322fc Mon Sep 17 00:00:00 2001 From: Balaji Varadarajan Date: Thu, 3 Oct 2019 09:42:30 -0700 Subject: [PATCH] [HUDI-121] Fix bug in validation in deploy_staging_jars.sh --- scripts/release/deploy_staging_jars.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release/deploy_staging_jars.sh b/scripts/release/deploy_staging_jars.sh index 7c067e61f..5867f9c62 100755 --- a/scripts/release/deploy_staging_jars.sh +++ b/scripts/release/deploy_staging_jars.sh @@ -29,8 +29,8 @@ set -o nounset set -o xtrace CURR_DIR=`pwd` -if [[ `basename $CURR_DIR` != "release" ]] ; then - echo "You have to call the script from the release/ dir" +if [[ `basename $CURR_DIR` != "scripts" ]] ; then + echo "You have to call the script from the scripts/ dir" exit 1 fi