repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
instpkg cleanup
[cmdllinux.git]
/
scripts
/
_find_fw.sh
blob
d8aa4664b7927bd6150c3e2513c8cbe4cdfb5d93
1
find
-type
l
-printf
"%P
\n
"
-o -type
f
-printf
"%P
\n
"
| \
2
while
read
file
;
do
3
FW
=
$
(
basename
$file
)
4
A
=
$
(
grep
"^
$FW
$\|/
$FW
$"
fw.lst
)
5
[ !
-z
"
$A
"
] &&
echo
"file :
$file
"
&&
echo
"
$A
"
|
sed
"s%.*%needed_fw: &%"
6
done