aboutsummaryrefslogtreecommitdiffstats
path: root/root/bin/ipkg
diff options
context:
space:
mode:
authorOpenWrt Developers <openwrt-devel@openwrt.org>2004-07-27 07:27:13 +0000
committerOpenWrt Developers <openwrt-devel@openwrt.org>2004-07-27 07:27:13 +0000
commit2ae99302ab3b7e52fa882ff411ed24bc3cd302e1 (patch)
treee9ae0639b04197b20c615c56d1ff78ced0d5e1cf /root/bin/ipkg
parent957ae8abc728b43589e19001055adfe476e05ddf (diff)
downloadupstream-2ae99302ab3b7e52fa882ff411ed24bc3cd302e1.tar.gz
upstream-2ae99302ab3b7e52fa882ff411ed24bc3cd302e1.tar.bz2
upstream-2ae99302ab3b7e52fa882ff411ed24bc3cd302e1.zip
fix syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@113 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root/bin/ipkg')
-rwxr-xr-xroot/bin/ipkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/bin/ipkg b/root/bin/ipkg
index c802ce1b3ac..bf275d842d1 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;
}