repo.or.cz
/
gentoo-zh.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sys-kernel/xanmod-{kernel, sources}: bump to 6.11.9
[gentoo-zh.git]
/
scripts
/
generate_manifest
blob
c674fd661967a459e49fd162005fb1ce05dcfe12
1
#!/bin/sh
2
3
for
file
in
$
(
find
`pwd`
-iname
\
*
.ebuild
);
do
4
echo
"
${file}
"
;
5
cp
"
${file}
"
"
${file}
~"
;
6
echo
"`cat /usr/portage/header.txt`"
>
"
${file}
"
;
7
echo
""
>>
"
${file}
"
;
8
echo
"`sed '1,4d' "
${file}
~
"`"
>>
"
${file}
"
;
9
rm
-rf
"
${file}
~"
;
10
ebuild
"
${file}
"
digest
;
11
done
;