Skip to content

Commit

Permalink
Use $() instead of deprecated `` for uname command
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Dec 2, 2016
1 parent cedfa2e commit 27a567b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ do
echo "#!/usr/bin/env $shell" > "$newDist"
if [ "$shell" = "sh" ]; then
cat << SH_ECHO >> "$newDist"
if [ "\`uname\`" = "FreeBSD" ]; then
if [ "\$(uname)" = "FreeBSD" ]; then
ECHO="echo"
else
ECHO="/bin/echo"
Expand Down

0 comments on commit 27a567b

Please sign in to comment.