Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-07-01 11:40:32 +0300
committerJoas Schilling <coding@schilljs.com>2020-07-01 11:48:38 +0300
commitdc175d4ecc77501176370211cc7bc41d17aa6e31 (patch)
tree387798dd43413c21ab70875b48e85575f79ed6dc /build
parentebedbf157968e40230a102c8f6f17c22990b0aae (diff)
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