Merge pull request #457 from koenpunt/patch-1

Add newline to printf command
master
Jordan Harband 2014-07-07 13:02:23 -07:00
commit a8233eb68c
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then
else
if ! grep -qc 'nvm.sh' "$PROFILE"; then
echo "=> Appending source string to $PROFILE"
printf "%s" "$SOURCE_STR" >> "$PROFILE"
printf "%s\n" "$SOURCE_STR" >> "$PROFILE"
else
echo "=> Source string already in $PROFILE"
fi