diff --git a/src/main.sh b/src/main.sh index 8885068..b760e15 100755 --- a/src/main.sh +++ b/src/main.sh @@ -20,12 +20,14 @@ else echo "Release selected: ${CHECKOUT}" fi +REPO_PATH=vscodium + echo "Getting the source..." -REPO_PATH=vscodium ./getsauce.sh "git" \ +REPO_PATH="$REPO_PATH" ./getsauce.sh "git" \ "${REPO_URL}" \ "${CHECKOUT}" -NODE_VERSION="$(cat project/.nvmrc)" +NODE_VERSION="$(cat $REPO_PATH/.nvmrc)" echo "Checking if node is already installed..." if command -v node; then @@ -33,7 +35,7 @@ if command -v node; then node --version else echo "Node not installed." - echo "Building node..." + echo "Building node ($NODE_VERSION)..." ./build.npm.sh $NODE_VERSION #./install.npm.thirdparty.sh && sudo apt-get -qq -y --no-install-recommends install python-is-python3 fi