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:
parent
9409ac8d85
commit
e7f713a805
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user