From 58801acf1ef14c40c325d6b00b6730d4ca7cfc3e Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 11 Sep 2020 10:47:09 -0700 Subject: [PATCH] grpc-js: Fix path handling in xds interop script --- packages/grpc-js/scripts/xds.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/grpc-js/scripts/xds.sh b/packages/grpc-js/scripts/xds.sh index bd30702c..12666069 100755 --- a/packages/grpc-js/scripts/xds.sh +++ b/packages/grpc-js/scripts/xds.sh @@ -13,6 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +cd $(dirname $0)/.. +base=$(pwd) + # Install NVM cd ~ export NVM_DIR=`pwd`/.nvm @@ -26,8 +29,7 @@ nvm install 12 set -exu -o pipefail [[ -f /VERSION ]] && cat /VERSION -cd $(dirname $0)/.. -base=$(pwd) +cd $base npm run compile cd ../../..