Skip to content

Commit 3e4bc70

Browse files
Update debug.sh
1 parent 8257391 commit 3e4bc70

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

home/pi/candle/debug.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ fi
1515
#_current_controller_version=$(cat ${CONTROLLER_NODE_VERSION_FILE_PATH})
1616

1717
# Make NVM available in this script
18-
NVM_DIR="/home/pi/.nvm"
19-
source $NVM_DIR/nvm.sh
18+
#NVM_DIR="/home/pi/.nvm"
19+
#source $NVM_DIR/nvm.sh
20+
21+
export NVM_DIR="/home/pi/.nvm"
22+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
23+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
2024

2125
echo "Candle Controller debug information"
2226
echo

0 commit comments

Comments
 (0)