X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=merge_akpm;h=4b9be3adcb2aa61b3045e61e81933036daf3a29f;hb=HEAD;hp=06661f9a9af8569ed6b152d95759577d3f85e876;hpb=6989b191f0d66d98c2353a8f7942b4e7bda5f8f7;p=next-scripts diff --git a/merge_akpm b/merge_akpm index 06661f9..4b9be3a 100755 --- a/merge_akpm +++ b/merge_akpm @@ -36,12 +36,9 @@ execute git merge --no-ff akpm-current/current || { echo Merge failed 1>&2 echo $h >>../merge.debug git diff >>../merge.debug 2>&1 - um_files=$(git diff 2>&1 | sed -n 's/^\* Unmerged path //p') - [ "$um_files" ] && [ -f "../merge-files/akpm-current" ] && { - rm_files=$(grep -F "$um_files" "../merge-files/akpm-current") - [ "$rm_files" ] && - "$bin_dir/do_rm" $rm_files - } + + check_unmerged_files akpm-current + git diff 2>&1 | egrep -q '<<<<<|^\*' && { bash -i || exit } @@ -68,7 +65,7 @@ $no_build || echo git push failed 1>&2 bash -i || exit } - "$bin_dir/do_build" || { + "$bin_dir/do_build" akpm-current || { echo Build failed 1>&2 bash -i || exit } @@ -89,8 +86,7 @@ execute git rebase --onto master remotes/origin/akpm/master-base || { bash -i || exit } echo "fix up?" -notify-send "Waiting for akpm fix up" -pushover "Waiting for akpm fix up" +linux-next-notify "Waiting for akpm fix up" bash -i log '$' cd $cpwd cd $cpwd @@ -128,7 +124,7 @@ $no_build || echo git push failed 1>&2 bash -i || exit } - "$bin_dir/do_build" || { + "$bin_dir/do_build" akpm || { echo Build failed 1>&2 bash -i || exit }