Fix "already merging" safety check in merge-to-branch.sh
R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/9689062 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11031 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
20c040dcd7
commit
a63d1211d3
@ -88,7 +88,7 @@ shift $OPTION_COUNT
|
||||
########## Regular workflow
|
||||
|
||||
# If there is a merge in progress, abort.
|
||||
[[ -e "$ALREADY_MERGING_SENTINEL_FILE" ]] && [[ -z "$START_STEP" ]] \
|
||||
[[ -e "$ALREADY_MERGING_SENTINEL_FILE" ]] && [[ $START_STEP -eq 0 ]] \
|
||||
&& die "A merge is already in progress"
|
||||
touch "$ALREADY_MERGING_SENTINEL_FILE"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user