Fix the circular latest symlinks by taking them out of the list of stages.

Sync amd64/x86 experimental script with base amd64/x86 script.
This commit is contained in:
Jorge Manuel B. S. Vicetto (jmbsvicetto) 2013-08-16 01:23:03 +00:00
parent b08dd40cac
commit 6dcdad447a
10 changed files with 15 additions and 10 deletions

View file

@ -40,7 +40,7 @@ pre_build() {
for d in ${BUILD_SRCDIR_BASE}/builds/default ; do
pushd $d
for t in hppa1.1 hppa2.0; do
for f in $(ls stage3-${t}-*bz2 | give_latest_from_dates ) ; do
for f in $(ls stage3-${t}-*bz2 | grep -v latest | give_latest_from_dates ) ; do
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 $
ln -sf $f $of