Fixes #4382 -- Use awk instead of gawk for more universal support.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-07-08 10:00:16 -05:00
parent 3cb73fe34f
commit 8b113ace37
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ __dotenv_cmd=.env
# Shortcut to convert semver version (x.yyy.zzz) into a comparable number.
version-number() {
echo "$@" | gawk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }'
echo "$@" | awk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }'
}
# This is a general-purpose function to ask Yes/No questions in Bash, either