projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix syntax error
[openwrt/svn-archive/archive.git]
/
root
/
bin
/
ipkg
diff --git
a/root/bin/ipkg
b/root/bin/ipkg
index c802ce1b3ac8fdda8b2e5160c9ac2e2470785028..bf275d842d168dcb8415c1214835efb8f1543d83 100755
(executable)
--- 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=$*
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;
}
}; done
return 1;
}