+[ -f "../merge-fixes/akpm-current" ] && {
+ for p in $(cat "../merge-fixes/akpm-current"); do
+ $(dirname $0)/merge_fix -n "$p" || {
+ bash -i || exit
+ }
+ done
+}
+[ -x "../pre-build/akpm-current" ] && {
+ "../pre-build/akpm-current" || bash -i || exit
+}
+
+new_head=$(git rev-parse HEAD)
+
+$no_build ||
+ [ "$old_head" = "$new_head" ] ||
+ [ "$(git diff ${old_head}.. | wc -c)" -eq 0 ] || {
+
+ git push -f "$build_host":"$build_dir" master:refs/heads/next || {
+ echo git push failed 1>&2
+ bash -i || exit
+ }
+ ssh "$build_host" "$build_cmd" || {
+ echo Build failed 1>&2
+ bash -i || exit
+ }
+}
+