From b7a016e9ca3f91441f76774a4ecebfb346f954b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Porcel?= Date: Sat, 17 Aug 2013 19:13:22 +0000 Subject: [PATCH] Do not use current-stage3 symlink on arm/hppa/s390/sh since releases are pushed with different datestamp and therefore current-stage3 only links to the latest that was pushed --- scripts/copy_buildsync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh index 5c4ac37d..39f7e193 100755 --- a/scripts/copy_buildsync.sh +++ b/scripts/copy_buildsync.sh @@ -78,9 +78,9 @@ for ARCH in $ARCHES; do # In the new variant preserve code there is a better way to do this #echo -e "${stage3_list}" |awk '{print $3}' |grep "$latest_stage3_date" >>${OUT_STAGE3} rm -f current-stage3 - # The "latest stage3" concept doesn't apply to the arm variants + # The "latest stage3" concept doesn't apply to the arm/hppa/s390/sh variants # that are pushed on different days of the week. - if [[ ! $(echo ${outdir} | grep arm) ]]; then + if [[ ! $(echo ${outdir} | egrep 'arm|hppa|ppc|s390|sh') ]]; then ln -sf "$latest_stage3_date" current-stage3 fi fi