Skip to content

Commit

Permalink
build: Create bashrc if not present for nvm
Browse files Browse the repository at this point in the history
Change-Id: Ie1582981166664d51b40a6b3621a5b59456ea2bb
Signed-off-by: Philippe Coval <p.coval@samsung.com>
  • Loading branch information
rzr authored and hobinjk committed Oct 11, 2018
1 parent f96fafe commit 6632c57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ mkdir -p mozilla-iot
cd mozilla-iot

# Install and configure nvm
[ -e "${HOME}/.bashrc" ] || touch "${HOME}/.bashrc"
curl -o- https://github.com/raw/creationix/nvm/${NVM_VERSION}/install.sh | bash
# The following 2 lines are installed into ~/.bashrc by the above,
# but on the target, sourcing ~/.bashrc winds up being a no-op (when sourced
Expand Down

0 comments on commit 6632c57

Please sign in to comment.