diff options
author | Mike Baker <mbm@openwrt.org> | 2004-07-27 07:27:13 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2004-07-27 07:27:13 +0000 |
commit | 3e988e1271e6cd1cbb10768b5385fa077a89b7e2 (patch) | |
tree | e9ae0639b04197b20c615c56d1ff78ced0d5e1cf /root/bin/ipkg | |
parent | ce568ad431349bd1214785dfb8ad4712eeee3e26 (diff) | |
download | mtk-20170518-3e988e1271e6cd1cbb10768b5385fa077a89b7e2.zip mtk-20170518-3e988e1271e6cd1cbb10768b5385fa077a89b7e2.tar.gz mtk-20170518-3e988e1271e6cd1cbb10768b5385fa077a89b7e2.tar.bz2 |
fix syntax error
SVN-Revision: 113
Diffstat (limited to 'root/bin/ipkg')
-rwxr-xr-x | root/bin/ipkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/bin/ipkg b/root/bin/ipkg index c802ce1..bf275d8 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; } |