actually exit plz

This commit is contained in:
Jack L. Frost 2015-06-01 14:41:04 +03:00
parent 0570c951a6
commit b3dc3ad8b9
1 changed files with 2 additions and 1 deletions

View File

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