projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a0bb9b
)
base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Feb 2011 19:06:20 +0000
(19:06 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 Feb 2011 19:06:20 +0000
(19:06 +0000)
SVN-Revision: 25528
package/base-files/files/bin/ipcalc.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/bin/ipcalc.sh
b/package/base-files/files/bin/ipcalc.sh
index e4826672e8ac3f749983f1e8aaa027b17614f020..9057e859289b8dd5f0ba66d2c2d50c842a9a7e76 100755
(executable)
--- a/
package/base-files/files/bin/ipcalc.sh
+++ b/
package/base-files/files/bin/ipcalc.sh
@@
-1,6
+1,6
@@
#!/bin/sh
-awk -f
/usr/lib/common.awk -f
- $* <<EOF
+awk -f - $* <<EOF
function bitcount(c) {
c=and(rshift(c, 1),0x55555555)+and(c,0x55555555)
c=and(rshift(c, 2),0x33333333)+and(c,0x33333333)