new scheme

This commit is contained in:
Jack L. Frost 2015-02-02 03:16:23 +03:00
parent decd47d867
commit dce6f234a2

View File

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