Fix typo in variable name and make check more accurate

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-07-01 10:40:32 +02:00
parent ebedbf1579
commit dc175d4ecc
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
CHECK_DIR='../'
if ! [ "$SERVER_VERSION" ]; then
if [[ -d "$1" ]]; then
CHECK_DIR=$1
fi