mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00: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 )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
OUTPUT_DIR="../."
|
OUTPUT_DIR="../."
|
||||||
if [ $# -eq 2 ]
|
if [ $# -gt 1 ]
|
||||||
then
|
then
|
||||||
OUTPUT_DIR=$2
|
OUTPUT_DIR=$2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DOCKER_DIR=$DIR/../docker
|
DOCKER_DIR=$DIR/../docker
|
||||||
if [ $# -eq 3 ]
|
if [ $# -eq 2 ]
|
||||||
then
|
then
|
||||||
|
OUTPUT_DIR=$2
|
||||||
DOCKER_DIR=$3
|
DOCKER_DIR=$3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user