diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-08 21:27:07 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-08 21:27:07 -0500 |
commit | 9d9116bd23720cf6c5b27aa39e5cc4c71de1fb26 (patch) | |
tree | 2a48919051eeec5122097e66f572fcec4a92ca20 /create-repo | |
parent | eefb787983d2608511214bcd682f3d8271bac60c (diff) |
Fix some array quoting.
Diffstat (limited to 'create-repo')
-rwxr-xr-x | create-repo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/create-repo b/create-repo index 21a2a9c..1ec9798 100755 --- a/create-repo +++ b/create-repo @@ -10,12 +10,12 @@ if [ $# -eq 0 ]; then fi msg "Creating repos..." -for _repo in $@; do +for _repo in "$@"; do msg2 "Creating [${_repo}]" mkdir -p "${FTP_BASE}/staging/${_repo}" || \ error "Failed creating staging dir" - for _arch in ${ARCHES[@]}; do + for _arch in "${ARCHES[@]}"; do mkdir -p "${FTP_BASE}/${_repo}/os/${_arch}" || \ error "Failed creating ${_arch} dir" done |