Skip to content

Commit

Permalink
fix: run not being truly POSIX-compliant (#4739)
Browse files Browse the repository at this point in the history
I'm sorry, but my previous PR #4736 contained a mistake and the script
wasn't truly POSIX compliant.

With this PR I fix that mistake.

See relevant shellcheck warning: https://www.shellcheck.net/wiki/SC3010
  • Loading branch information
bartekpacia committed Apr 1, 2024
1 parent f36318b commit 8d3cd4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions www/docs/static/run
Expand Up @@ -2,10 +2,12 @@
set -e

is_pro="false"
if [[ "$VERSION" == *-pro ]]; then
case "$VERSION" in
*-pro)
DISTRIBUTION="pro"
is_pro="true"
fi
;;
esac

if test "$DISTRIBUTION" = "pro"; then
echo "Using Pro distribution..."
Expand Down

0 comments on commit 8d3cd4c

Please sign in to comment.