Skip to content

Commit 27a567b

Browse files
Use $() instead of deprecated `` for uname command
1 parent cedfa2e commit 27a567b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ do
8484
echo "#!/usr/bin/env $shell" > "$newDist"
8585
if [ "$shell" = "sh" ]; then
8686
cat << SH_ECHO >> "$newDist"
87-
if [ "\`uname\`" = "FreeBSD" ]; then
87+
if [ "\$(uname)" = "FreeBSD" ]; then
8888
ECHO="echo"
8989
else
9090
ECHO="/bin/echo"

0 commit comments

Comments
 (0)