diff options
author | Raúl Porcel <armin76@gentoo.org> | 2013-08-17 16:51:54 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2013-08-17 16:51:54 +0000 |
commit | 6cfdd7f82b3519b47026f532fb9bf94321d2d2f8 (patch) | |
tree | c4908c4c6d4f1a66628fdfeebd2b65a9a40cd32b /scripts/copy_buildsync.sh | |
parent | Fix hardfp as well (diff) | |
download | releng-6cfdd7f82b3519b47026f532fb9bf94321d2d2f8.tar.gz releng-6cfdd7f82b3519b47026f532fb9bf94321d2d2f8.tar.bz2 releng-6cfdd7f82b3519b47026f532fb9bf94321d2d2f8.zip |
Narrow the regex a bit so f.ex stage3-amd64-nomultilib doesn't show up in latest-stage3-amd4.txt
Diffstat (limited to 'scripts/copy_buildsync.sh')
-rwxr-xr-x | scripts/copy_buildsync.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh index 4375a3da..6b3f83fe 100755 --- a/scripts/copy_buildsync.sh +++ b/scripts/copy_buildsync.sh @@ -88,8 +88,7 @@ for ARCH in $ARCHES; do variants="$(find 20* \( -iname '*.iso' -o -iname '*.tar.bz2' \) -printf '%f\n' |sed -e 's,-20[012][0-9]\{5\}.*,,g' -r | sort | uniq)" echo -n '' >"${tmpdir}"/.keep.${ARCH}.txt for v in $variants ; do - #date_variant=$(find 20* -iname "${v}*" \( -name '*.tar.bz2' -o -iname '*.iso' \) -printf '%h\n' | sed -e "s,.*/$a/autobuilds/,,g" -e 's,/.*,,g' |sort -n | tail -n1 ) - variant_path=$(find 20* -iname "${v}-*" \( -name '*.tar.bz2' -o -iname '*.iso' \) -print | sed -e "s,.*/$a/autobuilds/,,g" | sort -k1,1 -t/ | tail -n1 ) + variant_path=$(find 20* -iname "${v}-20*" \( -name '*.tar.bz2' -o -iname '*.iso' \) -print | sed -e "s,.*/$a/autobuilds/,,g" | sort -k1,1 -t/ | tail -n1 ) f="latest-${v}.txt" echo -e "${header}" >"${f}" echo -e "${variant_path}" >>${f} |