projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccf42af
)
find_modules: older awks might not have 'in'
author
Marko Kreen
<
[email protected]
>
Fri, 4 Jan 2013 07:50:21 +0000
(09:50 +0200)
committer
Marko Kreen
<
[email protected]
>
Fri, 4 Jan 2013 07:50:21 +0000
(09:50 +0200)
find_modules.sh
patch
|
blob
|
blame
|
history
diff --git
a/find_modules.sh
b/find_modules.sh
index 882dfc68055eb47efddcd31338f2958ddf989c12..5018f76e0e351dc0d7a8bc32cf465d069e05f369 100755
(executable)
--- a/
find_modules.sh
+++ b/
find_modules.sh
@@
-29,7
+29,7
@@
BEGIN { '"$excl"' }
p1 = index($0, "/");
p2 = index($0, ".");
m = substr($0, p1+1, p2-p1-1);
- if (!
(m in excl)
) print m;
+ if (!
excl[m]
) print m;
}'
awk "$prog" "$@" | sort -u
}