Check host's arch in pkgbuild as well

This commit is contained in:
sin 2013-09-25 12:20:03 +01:00
parent e7cc0ce69b
commit fac7730652

View File

@ -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"