summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-03 00:05:58 +0200
committerGitHub <noreply@github.com>2020-07-03 00:05:58 +0200
commitd496c5c919f70304abe46c417ea23605cc5f6e5d (patch)
tree2d0514540ca0adfa12a93749d61fb607a863063f
parent1913b1b91f625330ad02b9494421a89be685bf0e (diff)
parentdc175d4ecc77501176370211cc7bc41d17aa6e31 (diff)
downloadnextcloud-server-d496c5c919f70304abe46c417ea23605cc5f6e5d.tar.gz
nextcloud-server-d496c5c919f70304abe46c417ea23605cc5f6e5d.zip
Merge pull request #21644 from nextcloud/bugfix/noid/typo-in-variable-name
Fix typo in variable name and make check more accurate
-rwxr-xr-xbuild/image-optimization.sh2
1 files changed, 1 insertions, 1 deletions
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