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
app-i18n/fcitx-skk: add 5.0.13, drop 5.0.12
[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
;