diff options
author | Jay Freeman <saurik@saurik.com> | 2008-06-28 18:46:41 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-06-28 18:46:41 +0000 |
commit | 24dcba531ba61f3b66edcddee00768619fc8b67f (patch) | |
tree | 18a6993bb5299d724a294c6df96d147b35909d6a | |
parent | 0f61080a59af8e9aaecfbaca8bfeb355c4175ca3 (diff) |
Missing architectures should be handled.
git-svn-id: http://svn.telesphoreo.org/trunk@349 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r-- | architect.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/architect.sh b/architect.sh index 2bdbc2f03..e99f75760 100644 --- a/architect.sh +++ b/architect.sh @@ -1 +1,6 @@ +if [[ ! -e ${PKG_BASE}/arch/${PKG_ARCH}/target ]]; then + echo "unknown architecture: ${PKG_NAME}" 1>&2 + exit 1 +fi + export PKG_TARG=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/target") |