Skip to content

Commit

Permalink
fix 'require npmlog' problem
Browse files Browse the repository at this point in the history
  • Loading branch information
bpaquet committed May 10, 2016
1 parent 29b6cfb commit f866722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/node/adjust_shebangs.sh
Expand Up @@ -20,6 +20,6 @@ SLASH_HOME_PATH=`cd $HOME && pwd | sed -e 's/\//\\\\\//g'`

for i in `ls $BIN_PATH`; do
if [ `file -b $BIN_PATH/$i | awk '{print $1}'` != "ELF" ]; then
sed -i -e "s/^#!\/.*\/\.nvm\/v/#!${SLASH_HOME_PATH}\/.nvm\/v/" $BIN_PATH/$i
sed --follow-symlinks -i -e "s/^#!\/.*\/\.nvm\/v/#!${SLASH_HOME_PATH}\/.nvm\/v/" $BIN_PATH/$i
fi
done

0 comments on commit f866722

Please sign in to comment.