actually exit plz

This commit is contained in:
Jack L. Frost 2015-06-01 14:41:04 +03:00
parent 0570c951a6
commit b3dc3ad8b9

View File

@ -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"