Skip to content

Commit

Permalink
setup-development-environment.bash: Make ShellCheck happy
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁(Buo-Ren Lin) <[email protected]>
  • Loading branch information
brlin-tw committed May 8, 2018
1 parent ad4bd92 commit 7e1b732
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup-development-environment.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -o errtrace
set -o nounset
set -o pipefail

for required_command in\
for required_command in \
realpath\
basename\
dirname\
Expand All @@ -17,7 +17,8 @@ for required_command in\
do
if ! command -v "${required_command}" >/dev/null; then
printf\
"Error: This program requires \"${required_command}\" command in your \$PATH.\n"\
"Error: This program requires \"%s\" command in your \$PATH.\n"\
"${required_command}"\
1>&2
exit 1
fi
Expand Down

0 comments on commit 7e1b732

Please sign in to comment.