summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-10-04 22:02:32 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-10-04 22:02:32 (GMT)
commitde5c705b7a7922a67a7524dc63581506546fe9c1 (patch)
treef31f5b7270dc4aa7c3d194fdaafb0f4754af24bd
parente930ddcaab24375042c161281f1aa592b8833cbf (diff)
downloadsite-de5c705b7a7922a67a7524dc63581506546fe9c1.tar.gz
02-build-snapshots: Handle multiple branch updates
If multiple snapshot branches were updates, build snapshots from _all_ of them.
-rwxr-xr-xlibexec/post-receive.d/02-build-snapshots2
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
35fi 35fi