From 852e69fb36c990380784e54315ee9f6126e0f5cc Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 29 Sep 2010 15:35:53 +0200 Subject: [PATCH] skip "archived" branches --- misc/tools/xonotic-map-compiler-autobuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 3289aef9..98473d63 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -243,6 +243,11 @@ case "$1" in build) cd data/xonotic-maps.pk3dir git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do + case "$REFNAME" in + */archived/*) + continue + ;; + esac if [ -f "$build_cachedir/$HASH" ]; then continue fi @@ -257,6 +262,11 @@ case "$1" in screenshot) cd data/xonotic-maps.pk3dir git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do + case "$REFNAME" in + */archived/*) + continue + ;; + esac if [ -f "$screenshot_cachedir/$HASH" ]; then continue fi -- 2.39.2