summaryrefslogtreecommitdiff
path: root/createworkdir
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-05-16 00:44:39 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-05-16 00:44:39 -0500
commit7f118f53283d7e228c40a40076815ce94ebb94a7 (patch)
treee7b70c0f9f297edc42a1333b38e6e06357edcdd8 /createworkdir
parent0fa9894cbc10f0742c3076666524956f7279e8af (diff)
Cleaned up some things, added option parse to some scripts.
Diffstat (limited to 'createworkdir')
-rwxr-xr-xcreateworkdir12
1 files changed, 1 insertions, 11 deletions
diff --git a/createworkdir b/createworkdir
index 8680215..a28d198 100755
--- a/createworkdir
+++ b/createworkdir
@@ -47,8 +47,7 @@ custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf
}
-# Create the staging and repo dirs
-_repodir=${WORKDIR}/repos
+# Create the staging dirs
for _repo in ${REPOS[@]}; do
[[ ! -d ${WORKDIR}/staging/${_repo} ]] && {
stdnull "mkdir -p ${WORKDIR}/staging/${_repo}" || {
@@ -56,15 +55,6 @@ for _repo in ${REPOS[@]}; do
exit 1
}
}
-
- for _arch in ${ARCHES[@]}; do
- [[ ! -d ${_repodir}/${_repo}/${_arch} ]] && {
- stdnull "mkdir -p ${_repodir}/${_repo}/${_arch}" || {
- error "Can't create ${_repodir}/${_repo}/${_arch}"
- exit 1
- }
- }
- done
done
msg "Finished, your packaging dir tree looks like this now:"