]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix typo in variable name and make check more accurate 21644/head
authorJoas Schilling <coding@schilljs.com>
Wed, 1 Jul 2020 08:40:32 +0000 (10:40 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 1 Jul 2020 08:48:38 +0000 (10:48 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
build/image-optimization.sh

index 81866a0fee44518fe5a7a4ac5adf4dfbc55fa2f1..6d494b8ddb7def71264dcc919f5935ece5bde3c9 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 CHECK_DIR='../'
-if ! [ "$SERVER_VERSION" ]; then
+if [[ -d "$1" ]]; then
        CHECK_DIR=$1
 fi