reGen2 Linux Release Metatool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
525 B

# Copyright 2010-2012, Asio Software Technologies
# Distributed under the terms of the GNU General Public License v3
EZMOD_DESCRIPTION="Minifies Portage tree with so-called mini-manifests"
EZMOD_AUTHOR="Rafal Kupiec"
ezsync_precommit() {
printInfo "Preparing mini-manifests..."
find ${PORTAGESDIR}/${PORTAGE_BUILD[0]} -type f -iname changelog -exec rm -f {} \;
find ${PORTAGESDIR}/${PORTAGE_BUILD[0]} -type f -iname manifest -exec sed -n -i -e "/DIST/p" {} \;
return 0