summaryrefslogtreecommitdiff
path: root/create-repo
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 20:23:50 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 20:23:50 -0300
commitdfcaa1e1423a59057eb84273b1982d69f31e9be8 (patch)
tree2657bf9a15aadd177c7f29c12536fce2c702b780 /create-repo
parentb1fbfc099cb91a094128ffd86d16b2206a181f65 (diff)
fix variables
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 2ef3ace..2d82db0 100755
--- a/create-repo
+++ b/create-repo
@@ -12,10 +12,10 @@ fi
msg "Creating repos..."
for _repo in "$@"; do
msg2 "Creating [%s]" "${_repo}"
- for _arch in "${ARCHES[@]}"; do
+ for _arch in "${architectures[@]}"; do
mkdir -p "${root_dir}/${_repo}/os/${_arch}" || \
error "Failed creating %s dir" "${_arch}"
done
done
-msg "Don't forget to add them to the PKGREPOS array on %s" "$(dirname "$(readlink -e "$0")")/etc/dbscripts.cfg"
+msg "Don't forget to add them to the repositories array on %s" "$(dirname "$(readlink -e "$0")")/etc/dbscripts.cfg"