catalyst-auto: unify catalyst.conf parsing

This commit is contained in:
Mike Frysinger 2016-03-21 01:21:05 -04:00
parent 2736e468eb
commit a85f4327c6
15 changed files with 9 additions and 56 deletions

View file

@ -16,10 +16,6 @@ EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@timberdoodle.ppc64.dev.gentoo.org
EMAIL_SUBJECT_PREPEND="[ppc-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf
BUILD_SRCDIR_BASE=`grep storedir= $CATALYST_CONFIG | cut -d '=' -f2 | sed -e 's/"//g'`
give_latest_from_dates() {
sed 's,-20,~20,g' | \
sort -k +1 -n -t '~' |\