summaryrefslogtreecommitdiff
path: root/librestage
diff options
context:
space:
mode:
authorJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-06-03 19:06:15 -0500
committerJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-06-03 19:06:15 -0500
commitf39ca23301931899d1bf57dad1144983e1df9b8c (patch)
tree7abca41b54d7d1e9dccf4241f9ede2526893758e /librestage
parent3dcf773de928a0a587f0409d2bd1d7ecad80b549 (diff)
parent20aae24315eb580855ed698f4324d2460fa1f669 (diff)
Merge branch 'master' of gitpar:libretools
Diffstat (limited to 'librestage')
-rwxr-xr-xlibrestage5
1 files changed, 5 insertions, 0 deletions
diff --git a/librestage b/librestage
index d8eae19..b474bb1 100755
--- a/librestage
+++ b/librestage
@@ -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}"