Skip to content

Commit 07d7f05

Browse files
authored
Merge pull request #881 from ZhongRuoyu/printf-over-echo
2 parents 3338c8a + ee976ef commit 07d7f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ EOS
10481048
else
10491049
cat <<EOS
10501050
- Run these two commands in your terminal to add Homebrew to your ${tty_bold}PATH${tty_reset}:
1051-
(echo; echo 'eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"') >> ${shell_rcfile}
1051+
printf '%s\n' '' 'eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"' >> ${shell_rcfile}
10521052
eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)"
10531053
EOS
10541054
fi

0 commit comments

Comments
 (0)