From: Joas Schilling Date: Wed, 1 Jul 2020 08:40:32 +0000 (+0200) Subject: Fix typo in variable name and make check more accurate X-Git-Tag: v20.0.0beta1~331^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F21644%2Fhead;p=nextcloud-server.git Fix typo in variable name and make check more accurate Signed-off-by: Joas Schilling --- diff --git a/build/image-optimization.sh b/build/image-optimization.sh index 81866a0fee4..6d494b8ddb7 100755 --- a/build/image-optimization.sh +++ b/build/image-optimization.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash CHECK_DIR='../' -if ! [ "$SERVER_VERSION" ]; then +if [[ -d "$1" ]]; then CHECK_DIR=$1 fi