diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-05 00:02:32 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-05 00:02:32 +0200 |
| commit | de5c705b7a7922a67a7524dc63581506546fe9c1 (patch) | |
| tree | f31f5b7270dc4aa7c3d194fdaafb0f4754af24bd /libexec/post-receive.d/02-build-snapshots | |
| parent | e930ddcaab24375042c161281f1aa592b8833cbf (diff) | |
| download | site-de5c705b7a7922a67a7524dc63581506546fe9c1.tar.gz | |
02-build-snapshots: Handle multiple branch updates
If multiple snapshot branches were updates, build snapshots from _all_
of them.
Diffstat (limited to 'libexec/post-receive.d/02-build-snapshots')
| -rwxr-xr-x | libexec/post-receive.d/02-build-snapshots | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/post-receive.d/02-build-snapshots b/libexec/post-receive.d/02-build-snapshots index b0952ff..59bf9d3 100755 --- a/libexec/post-receive.d/02-build-snapshots +++ b/libexec/post-receive.d/02-build-snapshots | |||
| @@ -29,7 +29,7 @@ then | |||
| 29 | for snapshot_branch in $snapshot_branches | 29 | for snapshot_branch in $snapshot_branches |
| 30 | do | 30 | do |
| 31 | test "$branch" = "$snapshot_branch" \ | 31 | test "$branch" = "$snapshot_branch" \ |
| 32 | && exec "$prefix/bin/build-snapshot" "$branch" | 32 | && "$prefix/bin/build-snapshot" "$branch" |
| 33 | done | 33 | done |
| 34 | done | 34 | done |
| 35 | fi | 35 | fi |
