projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88992f8
)
find_modules: replace $(cmd) with backticks, more portable
author
Marko Kreen
<markokr@gmail.com>
Sun, 20 Mar 2011 19:12:54 +0000
(21:12 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Sun, 20 Mar 2011 19:12:54 +0000
(21:12 +0200)
find_modules.sh
patch
|
blob
|
blame
|
history
diff --git
a/find_modules.sh
b/find_modules.sh
index 839f5bc0b333b0f2797828c0eb6f09653c3cee08..94b6c1e07bb97a98a0bcdfe5d8dab379ddca80dc 100755
(executable)
--- a/
find_modules.sh
+++ b/
find_modules.sh
@@
-39,10
+39,11
@@
make_pats() {
# loop over grep until all mods are found
m_done=""
-m_tocheck=
$(grep_usual "$@")
+m_tocheck=
`grep_usual "$@"`
while test -n "$m_tocheck"; do
m_done="$m_done $m_tocheck"
- m_tocheck=$(grep_usual $(make_pats $m_tocheck))
+ pats=`make_pats $m_tocheck`
+ m_tocheck=`grep_usual $pats`
done
# done