From dce6f234a269367ec17d330086e08e2c711c8fc2 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 2 Feb 2015 03:16:23 +0300 Subject: [PATCH] new scheme --- builder-chroot.sh | 2 ++ 1 file changed, 2 insertions(+) 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