grpc-js: Fix path handling in xds interop script

This commit is contained in:
Michael Lumish 2020-09-11 10:47:09 -07:00
parent 5e0feb5d74
commit 58801acf1e
1 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
cd $(dirname $0)/..
base=$(pwd)
# Install NVM # Install NVM
cd ~ cd ~
export NVM_DIR=`pwd`/.nvm export NVM_DIR=`pwd`/.nvm
@ -26,8 +29,7 @@ nvm install 12
set -exu -o pipefail set -exu -o pipefail
[[ -f /VERSION ]] && cat /VERSION [[ -f /VERSION ]] && cat /VERSION
cd $(dirname $0)/.. cd $base
base=$(pwd)
npm run compile npm run compile
cd ../../.. cd ../../..