actually exit plz
This commit is contained in:
parent
0570c951a6
commit
b3dc3ad8b9
|
@ -20,10 +20,11 @@ main() {
|
|||
|
||||
package="$1"
|
||||
|
||||
if [[ -d "/tmp/build-${package}/.spark.repo" ]]; then
|
||||
if [[ -f "/tmp/build-${package}/.spark.repo" ]]; then
|
||||
repo_name=$( <"/tmp/build-${package}/.spark.repo" )
|
||||
else
|
||||
err "Repo not specified, not building package."
|
||||
return 1
|
||||
fi
|
||||
|
||||
build_pkg "$package" "$repo_name"
|
||||
|
|
Loading…
Reference in New Issue
Block a user