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