Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit d0fa2fd

Browse files
committed
build: Ensure nvm is found by the build script
1 parent be0446f commit d0fa2fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_dbhub.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ DEST=${PWD}/local
55
export PKG_CONFIG_PATH=${DEST}/lib/pkgconfig
66
export GOBIN=${DEST}/bin
77

8+
# Load NVM (shouldn't be needed, but is. Ugh.)
9+
export NVM_DIR="$HOME/.nvm"
10+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
11+
812
# If this script is passed an argument of "clean", then delete the
913
# locally compiled pieces
1014
if [ "$1" = "clean" ]; then

0 commit comments

Comments
 (0)