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

@ -18,10 +18,6 @@ EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-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 '~' |\