diff options
-rwxr-xr-x | librestage | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -99,6 +99,11 @@ for _arch in ${ARCHES[@]}; do canonical="" for _repo in ${repos[@]}; do + if [ ! -d "${WORKDIR}/staging/${_repo}" ]; then + warning "[${_repo}] didn't exist, creating..." + mkdir -p "${WORKDIR}/staging/${_repo}" + fi + if [ -z "$canonical" ]; then canonical="${WORKDIR}/staging/${_repo}/${pkgfile}" |