From 8d3cd4cef641699c0a74cd7c707ceffd59aeaa6c Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Mon, 1 Apr 2024 19:08:58 +0200 Subject: [PATCH] fix: `run` not being truly POSIX-compliant (#4739) 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 --- www/docs/static/run | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/docs/static/run b/www/docs/static/run index 85750fdcd76..72f5e274d1f 100755 --- a/www/docs/static/run +++ b/www/docs/static/run @@ -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..."