From f6ea7efa4b6dae8de844bb6bc1bcf6e52e375ba0 Mon Sep 17 00:00:00 2001 From: openwrt Date: Tue, 27 Jul 2004 07:27:13 +0000 Subject: fix syntax error git-svn-id: svn://svn.openwrt.org/openwrt/trunk@113 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- root/bin/ipkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'root/bin/ipkg') diff --git a/root/bin/ipkg b/root/bin/ipkg index c802ce1b3a..bf275d842d 100755 --- a/root/bin/ipkg +++ b/root/bin/ipkg @@ -26,7 +26,7 @@ ipkg_is_upgrade () { while [ \! -z "$A" ] && [ \! -z "$B" ]; do { set $A; a=$1; shift; A=$* set $B; b=$1; shift; B=$* - { [ "$a" -gt "$b" ] 2>- || [ "$a" ">" "$b" ]; } && { return 0; } + { [ "$a" -gt "$b" ] 2>&- || [ "$a" ">" "$b" ]; } && { return 0; } }; done return 1; } -- cgit v1.2.3