[packages] utils/firmwarehotplug: Fix sdcc prereq check on systems where sdcc -v...
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Oct 2008 04:29:21 +0000 (04:29 +0000)
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 27 Oct 2008 04:29:21 +0000 (04:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13050 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/firmwarehotplug/Makefile

index 16e5c97..cdf85e3 100644 (file)
@@ -51,7 +51,7 @@ endef
 $(eval $(call BuildPackage,firmwarehotplug))
 
 define Require/working-sdcc
-       sdcc -v | awk '($$$$1 == "SDCC") && ($$$$3 == "mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08") { print "ok" }' | grep ok > /dev/null
+       sdcc -v 2>&1 | awk '($$$$1 == "SDCC") && ($$$$3 == "mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08") { print "ok" }' | grep ok > /dev/null
 endef
 
 $(eval $(call RequireCommand,sdcc, \