commit bade3a3635f7f76ea0151aac3314e51f4e64ff13 parent 8b4adefff244c38f1382348888f2b87124402fd2 Author: sin <sin@2f30.org> Date: Wed, 25 Sep 2013 12:20:03 +0100 Check host's arch in pkgbuild as well Diffstat:
M | pkgbuild | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/pkgbuild b/pkgbuild @@ -9,4 +9,9 @@ set -e -x . ./prepare-env +if [ $(uname -m) != $arch ]; then + echo You need an $arch host to build morpheus 1>&2 + exit 1 +fi + ./build "$1"