aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-07-01 10:40:32 +0200
committerJoas Schilling <coding@schilljs.com>2020-07-01 10:48:38 +0200
commitdc175d4ecc77501176370211cc7bc41d17aa6e31 (patch)
tree387798dd43413c21ab70875b48e85575f79ed6dc /build
parentebedbf157968e40230a102c8f6f17c22990b0aae (diff)
downloadnextcloud-server-dc175d4ecc77501176370211cc7bc41d17aa6e31.tar.gz
nextcloud-server-dc175d4ecc77501176370211cc7bc41d17aa6e31.zip
Fix typo in variable name and make check more accurate
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'build')
-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