Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-18 12:39:41 +0200
committerErich Eckner <git@eckner.net>2017-05-18 12:39:41 +0200
commit1a4d8f99217281c17624d6726f9f0249616b6bbe (patch)
treebfe54f61abe4fa50264355fed8c77c0a26184113 /bin/return-assignment
parente85bb8ed54866a6e57307f7b0c8d858eebf7843c (diff)
build for i686 (instead of i486) for now
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index f56a908..0f000f3 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -105,9 +105,9 @@ package_errors="$(
tr ' ' '\n' | \
sed '
s@\(-[^-]\+\)\{2\}-\([^-]\+\)\.pkg\.tar\.xz@ \2@
- / any$/{s|any$|i486|}
+ / any$/{s|any$|i686|}
'
- sed 's|$| i486|' "${work_dir}/package-infos/$1.$2.$3.packages"
+ sed 's|$| i686|' "${work_dir}/package-infos/$1.$2.$3.packages"
) | \
sort | \
uniq -u
@@ -120,11 +120,11 @@ if [ -n "${package_errors}" ]; then
fi
# move packages
-mkdir -p "${master_mirror_directory}/i486/$4-staging/"
-mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i486/$4-staging/"
+mkdir -p "${master_mirror_directory}/i686/$4-staging/"
+mv *.pkg.tar.xz{,.sig} "${master_mirror_directory}/i686/$4-staging/"
(
- cd "${master_mirror_directory}/i486/$4-staging"
+ cd "${master_mirror_directory}/i686/$4-staging"
repo-add "$4-staging.db.tar.gz" "${packages[@]}"
# repo-add -v -s -k "${repo_key}" "$4-staging.db.tar.gz" "${packages[@]}"
)