3 PATCH_DIR=`pwd`/src/ozone/patches/
4 HACKING_BRANCH=master-ozone
5 HACKING_OZONE_BRANCH=master-ozonewayland
6 RELEASE_BRANCH=branch_2171
7 RELEASE_OZONE_BRANCH=Milestone-Autumn
9 echo "Ozone-Wayland: patching Chromium"
12 # we switch to $HACKING_BRANCH before anything
13 git checkout $RELEASE_BRANCH
15 exists=`git show-ref refs/heads/$HACKING_BRANCH`
16 if [ -n "$exists" ]; then
17 git branch -D $HACKING_BRANCH
20 git checkout -b $HACKING_BRANCH $RELEASE_BRANCH
23 git checkout $RELEASE_OZONE_BRANCH
24 exists=`git show-ref refs/heads/$HACKING_OZONE_BRANCH`
25 if [ -n "$exists" ]; then
26 git branch -D $HACKING_OZONE_BRANCH
28 git checkout -b $HACKING_OZONE_BRANCH $RELEASE_OZONE_BRANCH