summaryrefslogtreecommitdiff
path: root/create-repo
diff options
context:
space:
mode:
Diffstat (limited to 'create-repo')
-rwxr-xr-xcreate-repo4
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