index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-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' |