[PATCH v2] compat-2.6: Makefile: fixed test expressions for target install
Joerg Albert <
jal2@...>
2009-07-31 23:21:33 GMT
This removes the two errors of [ with target "install"
[: 9: missing ]
[: 9: missing ]
and works with sh as well.
Signed-off-by: Joerg Albert <jal2@...>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 62eb5db..e1ad666 100644
--- a/Makefile
+++ b/Makefile
<at> <at> -80,7 +80,7 <at> <at> install-scripts:
<at> install scripts/athload $(DESTDIR)/usr/sbin/
<at> install scripts/b43load $(DESTDIR)/usr/sbin/
<at> install scripts/iwl-load $(DESTDIR)/usr/sbin/
- <at> if [ ! -z $(MADWIFI) && -z "$(DESTDIR)" ]; then \
+ <at> if [ ! -z "$(MADWIFI)" ] && [ -z "$(DESTDIR)" ]; then \
echo ;\
echo -n "Note: madwifi detected, we're going to disable it. " ;\
echo "If you would like to enable it later you can run:" ;\
<at> <at> -89,7 +89,7 <at> <at> install-scripts:
echo Running athenable ath5k...;\
/usr/sbin/athenable ath5k ;\
fi
- <at> if [ ! -z $(OLD_IWL) && -z "$(DESTDIR)" ]; then \
(Continue reading)