mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
proper arg counts on run script
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user