diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-08-25 10:58:29 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-08-25 10:58:29 +0100 |
commit | 4a43104790d81e67130552eb6732710278189023 (patch) | |
tree | 8d0d4f7f9e1b323e3f636c256157e1366341ccba /jenkinstool | |
parent | ac702e7dcffd7a09d60ac30ece43390811111d76 (diff) | |
download | jenkinstool-4a43104790d81e67130552eb6732710278189023.tar.gz |
Check the right changes file
Diffstat (limited to 'jenkinstool')
-rwxr-xr-x | jenkinstool | 8 |
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 |