projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba0a802
)
small bugfix
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 7 Oct 2005 11:19:06 +0000
(11:19 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 7 Oct 2005 11:19:06 +0000
(11:19 +0000)
SVN-Revision: 2064
openwrt/package/webif/files/usr/lib/webif/webif.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/webif/files/usr/lib/webif/webif.sh
b/openwrt/package/webif/files/usr/lib/webif/webif.sh
index ed98caa34ee3a35b36a7d6631452f64871e672a7..fba768d7897b3fd6426d107252873ea17537df02 100644
(file)
--- a/
openwrt/package/webif/files/usr/lib/webif/webif.sh
+++ b/
openwrt/package/webif/files/usr/lib/webif/webif.sh
@@
-17,9
+17,9
@@
categories() {
c[n] = $4
if (f[$4] == "") f[$4] = "'"$rootdir/$indexpage"'?cat=" $4
}
- ($3 == "name") && ((
n[$4] == 0) || (n
[$4] > int($5))) {
+ ($3 == "name") && ((
p[$4] == 0) || (p
[$4] > int($5))) {
gsub(/^.*\//, "", $1);
-
n
[$4] = int($5)
+
p
[$4] = int($5)
f[$4] = "'"$rootdir"'/" $1
}
END {