summaryrefslogtreecommitdiff
path: root/jenkinstool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-08-25 10:58:29 +0100
committerLars Wirzenius <liw@liw.fi>2012-08-25 10:58:29 +0100
commit4a43104790d81e67130552eb6732710278189023 (patch)
tree8d0d4f7f9e1b323e3f636c256157e1366341ccba /jenkinstool
parentac702e7dcffd7a09d60ac30ece43390811111d76 (diff)
downloadjenkinstool-4a43104790d81e67130552eb6732710278189023.tar.gz
Check the right changes file
Diffstat (limited to 'jenkinstool')
-rwxr-xr-xjenkinstool8
1 files changed, 7 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool
index 9b6b079..c2d6dc5 100755
--- a/jenkinstool
+++ b/jenkinstool
@@ -437,7 +437,13 @@ cp -a "$workspace/." .
script = prelude
if build_all:
script += '''
-if url_exists "$poolurl/$archall_changes"
+if grep '^Architecture:.* any' debian/control > /dev/null
+then
+ url="$poolurl/$archany_changes"
+else
+ url="$poolurl/$archall_changes"
+fi
+if url_exists "$url"
then
echo "$poolurl/$archall_changes exists, not rebuilding"
exit 0