summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 8ca1cd6..1e28179 100755
--- a/build
+++ b/build
@@ -289,7 +289,7 @@ install_$(target): install-$(type)
configure build install:
set -e; \
for tgt in $(targets); do \
- if [ x"$${target}" = x'$(OPK_HOST_ARCH)' ]; then \
+ if [ x"$${tgt}" = x'$(OPK_HOST_ARCH)' ]; then \
type='native'; \
else \
type='cross'; \