mirror of https://github.com/sbt/sbt.git
Merge pull request #43 from cdow/die
Replaced last usage of missing 'die' function.
This commit is contained in:
commit
f8e4ef438b
|
|
@ -90,7 +90,8 @@ require_arg () {
|
||||||
local opt="$2"
|
local opt="$2"
|
||||||
local arg="$3"
|
local arg="$3"
|
||||||
if [[ -z "$arg" ]] || [[ "${arg:0:1}" == "-" ]]; then
|
if [[ -z "$arg" ]] || [[ "${arg:0:1}" == "-" ]]; then
|
||||||
die "$opt requires <$type> argument"
|
echo "$opt requires <$type> argument"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue