Skip to content

Commit

Permalink
Use export command
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown committed Feb 10, 2024
1 parent 3be1416 commit c3a18f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/dependency_install_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ install_foxx_cli() {

[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
#nvm use "$DATAFED_NODE_VERSION"
NODE_VERSION="$DATAFED_NODE_VERSION"
export NODE_VERSION="$DATAFED_NODE_VERSION"
"$NVM_DIR/nvm-exec" npm install --global foxx-cli --prefix "${DATAFED_DEPENDENCIES_INSTALL_PATH}/npm"
# Mark gcs as installed
touch ".foxx_cli_installed"
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_ws_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ install_node
echo "NODE INSTALL DONE"
#nvm use "$DATAFED_NODE_VERSION"
#export NPM_CONFIG_PREFIX="${DATAFED_DEPENDENCIES_INSTALL_PATH}/npm"
NVM_DIR="${DATAFED_DEPENDENCIES_INSTALL_PATH}/nvm"
NODE_VERSION="$DATAFED_NODE_VERSION"
export NVM_DIR="${DATAFED_DEPENDENCIES_INSTALL_PATH}/nvm"
export NODE_VERSION="$DATAFED_NODE_VERSION"
"$NVM_DIR/nvm-exec" npm --prefix ${PROJECT_ROOT}/web install ${PROJECT_ROOT}/web
#npm --prefix ${PROJECT_ROOT}/web install ${PROJECT_ROOT}/web

0 comments on commit c3a18f0

Please sign in to comment.