diff options
-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") |