This commit is contained in:
Jack L. Frost 2015-06-01 14:45:06 +03:00
parent 072f768ebd
commit 4654a86814

View File

@ -4,7 +4,7 @@
err() { echo "$1" >&2; }
build_pkg() {
local makepkg_output makepkg_exit_code makepkg_status
declare package repo
package="$1"
repo="$2"
@ -28,8 +28,8 @@ main() {
fi
if [[ ! -d "${cfg_repos_dir}/${repo_name}" ]]; then
echo "Creating ${cfg_repos_dir}/${repo}"
mkdir -p "${cfg_repos_dir}/${repo}" || {
echo "Creating ${cfg_repos_dir}/${repo_name}"
mkdir -p "${cfg_repos_dir}/${repo_name}" || {
return 1
}
fi