dev-python/janus: add RESTRICT="!test? ( test )"
[gentoo-zh.git] / scripts / generate_manifest
blobc674fd661967a459e49fd162005fb1ce05dcfe12
1 #!/bin/sh
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;