Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-15 15:22:41 +0200
committerErich Eckner <git@eckner.net>2019-04-15 15:22:41 +0200
commit5a5db514f1b6babe91920add7037280268301f7d (patch)
tree573d56923d737b31bbc29826597b68ba031e9a0f
parent9e229560c80432660d60d71f18ea63ff15221a93 (diff)
bin/build-packages: remove legacy switch
-rwxr-xr-xbin/build-packages11
1 files changed, 1 insertions, 10 deletions
diff --git a/bin/build-packages b/bin/build-packages
index a084a9a..70db571 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -263,16 +263,7 @@ while [ "${count}" -ne 0 ] && \
mod_git_revision="${package##* }"
package="${package% *}"
git_revision="${package##* }"
- if [ "${git_revision}" = "${package}" ]; then
- # build master did not tell us an architecture
- git_revision="${mod_git_revision}"
- mod_git_revision="${repository}"
- repository="${sub_pkgrel}"
- sub_pkgrel="${arch}"
- arch="${my_arch}"
- else
- package="${package% *}"
- fi
+ package="${package% *}"
if [ "${arch}" = 'any' ]; then
arch="${my_arch}"
fi