new scheme

This commit is contained in:
Jack L. Frost 2015-02-02 03:16:23 +03:00
parent decd47d867
commit dce6f234a2
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ build_pkg() {
repo="$1"
package="$2"
echo "${cfg_build_dir} /repos/ ${repo} / ${package}"
[[ -d "${cfg_build_dir}/repos/${repo}/${package}" ]] || {
err "Package ${package} doesn't exist in ${cfg_build_dir}/repos/${repo}"
return 1