Fix variable

This commit is contained in:
Raúl Porcel 2013-08-16 10:18:37 +00:00
parent ff14403dd3
commit 10fd7de988
6 changed files with 18 additions and 18 deletions

View file

@ -15,7 +15,7 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[$SUBARCH-auto]" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf CATALYST_CONFIG=/etc/catalyst/catalyst.conf
@ -40,7 +40,7 @@ pre_build() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d pushd $d
for f in $(ls stage3-$SUBARCH-*bz2 | grep -v latest | give_latest_from_dates ) ; do for f in $(ls stage3-${SUBARCH}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff
of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $ of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $
ln -sf $f $of ln -sf $f $of
@ -51,5 +51,5 @@ pre_build() {
post_build() { post_build() {
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-$SUBARCH-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org: rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-${SUBARCH}-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org:
} }

View file

@ -15,7 +15,7 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[$SUBARCH-auto]" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf CATALYST_CONFIG=/etc/catalyst/catalyst.conf
@ -40,7 +40,7 @@ pre_build() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d pushd $d
for f in $(ls stage3-$SUBARCH-*bz2 | grep -v latest | give_latest_from_dates ) ; do for f in $(ls stage3-${SUBARCH}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff
of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $ of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $
ln -sf $f $of ln -sf $f $of
@ -51,5 +51,5 @@ pre_build() {
post_build() { post_build() {
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-$SUBARCH-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org: rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-${SUBARCH}-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org:
} }

View file

@ -15,7 +15,7 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[$SUBARCH-auto]" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf CATALYST_CONFIG=/etc/catalyst/catalyst.conf
@ -40,7 +40,7 @@ pre_build() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d pushd $d
for f in $(ls stage3-$SUBARCH-*bz2 | grep -v latest | give_latest_from_dates ) ; do for f in $(ls stage3-${SUBARCH}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff
of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $ of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $
ln -sf $f $of ln -sf $f $of
@ -51,5 +51,5 @@ pre_build() {
post_build() { post_build() {
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-$SUBARCH-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org: rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-${SUBARCH}-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org:
} }

View file

@ -15,7 +15,7 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[$SUBARCH-auto]" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf CATALYST_CONFIG=/etc/catalyst/catalyst.conf
@ -40,7 +40,7 @@ pre_build() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d pushd $d
for f in $(ls stage3-$SUBARCH-*bz2 | grep -v latest | give_latest_from_dates ) ; do for f in $(ls stage3-${SUBARCH}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff
of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $ of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $
ln -sf $f $of ln -sf $f $of
@ -51,5 +51,5 @@ pre_build() {
post_build() { post_build() {
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-$SUBARCH-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org: rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-${SUBARCH}-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org:
} }

View file

@ -15,7 +15,7 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[$SUBARCH-auto]" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf CATALYST_CONFIG=/etc/catalyst/catalyst.conf
@ -40,7 +40,7 @@ pre_build() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d pushd $d
for f in $(ls stage3-$SUBARCH-*bz2 | grep -v latest | give_latest_from_dates ) ; do for f in $(ls stage3-${SUBARCH}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff
of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $ of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $
ln -sf $f $of ln -sf $f $of
@ -51,5 +51,5 @@ pre_build() {
post_build() { post_build() {
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-$SUBARCH-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org: rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-${SUBARCH}-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org:
} }

View file

@ -15,7 +15,7 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[$SUBARCH-auto]" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
CATALYST_CONFIG=/etc/catalyst/catalyst.conf CATALYST_CONFIG=/etc/catalyst/catalyst.conf
@ -40,7 +40,7 @@ pre_build() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d pushd $d
for f in $(ls stage3-$SUBARCH-*bz2 | grep -v latest | give_latest_from_dates ) ; do for f in $(ls stage3-${SUBARCH}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff
of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $ of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for $
ln -sf $f $of ln -sf $f $of
@ -51,5 +51,5 @@ pre_build() {
post_build() { post_build() {
rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-$SUBARCH-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org: rsync -e 'ssh -i /root/.ssh/id_rsa' ${BUILD_SRCDIR_BASE}/builds/default/stage3-${SUBARCH}-*${DATESTAMP}*.tar.bz2* arm@skimmer.gentoo.org:
} }