diff --git a/builder-chroot.sh b/builder-chroot.sh index 3d3fad3..b02d9a8 100755 --- a/builder-chroot.sh +++ b/builder-chroot.sh @@ -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