summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibrestage2
1 files changed, 1 insertions, 1 deletions
diff --git a/librestage b/librestage
index e51975b..6ecb19c 100755
--- a/librestage
+++ b/librestage
@@ -74,7 +74,7 @@ PKGEXT=".pkg.tar.?z"
staged='n'
# Copies the packages to the specified repos inside staging
-for _arch in ${arch[@]}; do
+for _arch in ${ARCHES[@]}; do
for pkg in ${pkgname[@]}; do
pkgpath=$(find ${PKGDEST}/ -type f -name "${pkg}-${pkgver}-${pkgrel}-${_arch}${PKGEXT}")