summaryrefslogtreecommitdiff
path: root/any-to-ours
diff options
context:
space:
mode:
Diffstat (limited to 'any-to-ours')
-rwxr-xr-xany-to-ours10
1 files changed, 5 insertions, 5 deletions
diff --git a/any-to-ours b/any-to-ours
index 87a40cd..7ca2878 100755
--- a/any-to-ours
+++ b/any-to-ours
@@ -17,7 +17,7 @@ trap 'trap_exit "$(gettext "TERM signal caught. Exiting...")"' TERM HUP QUIT
trap 'trap_exit "$(gettext "Aborted by user! Exiting...")"' INT
trap 'trap_exit "$(gettext "An unknown error has occurred. Exiting...")"' ERR
-for 'platform' in "${PLATFORMS[@]}"; do
+for 'platform' in "${DERIVATIVE_PLATFORMS[@]}"; do
source "$(dirname "$(readlink -e "$0")")/config_${platform}"
@@ -69,13 +69,13 @@ for 'platform' in "${PLATFORMS[@]}"; do
# Avoid mixups
unset 'SYNCED' 'PKGS'
done
- if [ -n "${MULTILIB}" ]; then
+ if [ -n "${MULTILIB_ARCHES}" ]; then
for '_repo_multilib' in "${MULTILIB_REPOS[@]}"; do
msg "Processing %s..." "${_repo}" '(multilib)'
# Find 'any' packages
# This is hardcoded but it could release other arches...
- PKGS_MULTILIB=($(find "${REPO_DIR}/${_repo_multilib}/os/${MULTILIB[0]}/" \
+ PKGS_MULTILIB=($(find "${REPO_DIR}/${_repo_multilib}/os/${MULTILIB_ARCHES[0]}/" \
-iname '*-any.pkg.tar.?z' \
-printf "%f "))
@@ -84,7 +84,7 @@ for 'platform' in "${PLATFORMS[@]}"; do
continue
fi
- for '_arch_multilib' in "${MULTILIB[@]}"; do
+ for '_arch_multilib' in "${MULTILIB_ARCHES[@]}"; do
msg2 "Syncing %s..." "${_arch_multilib}" '(multilib)'
# Sync 'any' only and extract the synced packages
@@ -93,7 +93,7 @@ for 'platform' in "${PLATFORMS[@]}"; do
--include='*-any.pkg.tar.?z' \
--include='*-any.pkg.tar.?z.sig' \
--exclude='*' \
- "${REPO_DIR}/${_repo_multilib}/os/${MULTILIB[0]}/" \
+ "${REPO_DIR}/${_repo_multilib}/os/${MULTILIB_ARCHES[0]}/" \
"${REPO_DIR}/${_repo_multilib}/os/${_arch_multilib}/" 2>&1 | \
grep 'any\.pkg\.tar\..z$' | \
cut -d ' ' -f 1 ))