index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-08-29 12:11:52 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-08-29 12:11:52 +0200 |
commit | 5e68c732d58dc542c86a4f61b5cc22af3a3582e2 (patch) | |
tree | 825672401eeff596efa2162fa62789683078d13f /bin/local-build-package | |
parent | 678864eb70a3ef83c2dc76958aad02ba0259718c (diff) |
-rwxr-xr-x | bin/local-build-package | 5 |
diff --git a/bin/local-build-package b/bin/local-build-package index 49907a4..ade87c0 100755 --- a/bin/local-build-package +++ b/bin/local-build-package @@ -115,6 +115,11 @@ if [ $# -ne 2 ]; then usage fi +if [ $arch != "i486" ] && [ $arch != "i686" ] && [ $arch != "pentium4" ]; then + >&2 echo "Illegal architecture '$arch', epxecting one of 'i486', 'i686' or 'pentium4'." + usage +fi + if ${bootstrap}; then if [ -z "${bootstrap_host}" ]; then >&2 echo -- '-b option requires a bootstrapping host to be set with -H' |