diff options
author | Ulrich Mueller <ulm@gentoo.org> | 2010-09-03 19:33:41 +0200 |
---|---|---|
committer | Ulrich Mueller <ulm@gentoo.org> | 2010-09-05 12:29:36 +0200 |
commit | 0b7af53635da3159a46d7a4481a2a4486813e257 (patch) | |
tree | 6263803f2696d42bb847b352a8474eb3db121bef /bin/ebuild-helpers | |
parent | 29bbd6f0ef251624cfe024cac601a5e717d35209 (diff) | |
download | portage-0b7af53635da3159a46d7a4481a2a4486813e257.tar.gz portage-0b7af53635da3159a46d7a4481a2a4486813e257.tar.bz2 portage-0b7af53635da3159a46d7a4481a2a4486813e257.zip |
Don't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260.
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-x | bin/ebuild-helpers/prepinfo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild-helpers/prepinfo b/bin/ebuild-helpers/prepinfo index fa37e5e64..cbbba3ed0 100755 --- a/bin/ebuild-helpers/prepinfo +++ b/bin/ebuild-helpers/prepinfo @@ -24,6 +24,9 @@ if [[ ! -d ${D}${infodir} ]] ; then fi find "${D}${infodir}" -type d -print0 | while read -d $'\0' x ; do + for f in "${x}"/.keepinfodir*; do + [[ -e ${f} ]] && continue 2 + done rm -f "${x}"/dir{,.info}{,.gz,.bz2} done |