diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 00:44:39 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 00:44:39 -0500 |
commit | 7f118f53283d7e228c40a40076815ce94ebb94a7 (patch) | |
tree | e7b70c0f9f297edc42a1333b38e6e06357edcdd8 /createworkdir | |
parent | 0fa9894cbc10f0742c3076666524956f7279e8af (diff) |
Cleaned up some things, added option parse to some scripts.
Diffstat (limited to 'createworkdir')
-rwxr-xr-x | createworkdir | 12 |
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:" |