1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 13:08:17 -05:00

proper arg counts on run script

This commit is contained in:
Kyle Spearrin 2017-08-23 16:51:36 -04:00
parent 9409ac8d85
commit e7f713a805

View File

@ -6,14 +6,15 @@ set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
OUTPUT_DIR="../."
if [ $# -eq 2 ]
if [ $# -gt 1 ]
then
OUTPUT_DIR=$2
fi
DOCKER_DIR=$DIR/../docker
if [ $# -eq 3 ]
if [ $# -eq 2 ]
then
OUTPUT_DIR=$2
DOCKER_DIR=$3
fi