commit fac77306528d9420193906e8863d8758af8eb28f parent e7cc0ce69bd09a940d60ccf1524f84913ceb5e49 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"