diff options
author | Joas Schilling <coding@schilljs.com> | 2020-07-01 10:40:32 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-07-01 10:48:38 +0200 |
commit | dc175d4ecc77501176370211cc7bc41d17aa6e31 (patch) | |
tree | 387798dd43413c21ab70875b48e85575f79ed6dc /build | |
parent | ebedbf157968e40230a102c8f6f17c22990b0aae (diff) | |
download | nextcloud-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-x | build/image-optimization.sh | 2 |
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 |