#!/bin/sh

PATCH_DIR=`pwd`/src/ozone/patches/
HACKING_BRANCH=master-ozone

echo "Ozone-Wayland: patching Chromium"
cd src/

# we switch to $HACKING_BRANCH before anything
git checkout master

exists=`git show-ref refs/heads/$HACKING_BRANCH`
if [ -n "$exists" ]; then
  git branch -D $HACKING_BRANCH
fi

git checkout -b $HACKING_BRANCH master
git am $PATCH_DIR/00*

#!/bin/sh

PATCH_DIR=`pwd`/src/ozone/patches/
HACKING_BRANCH=master-ozone
HACKING_OZONE_BRANCH=master-ozonewayland
RELEASE_BRANCH=branch_2062
RELEASE_OZONE_BRANCH=Milestone-Spring

echo "Ozone-Wayland: patching Chromium"
cd src/

# we switch to $HACKING_BRANCH before anything
git checkout $RELEASE_BRANCH

exists=`git show-ref refs/heads/$HACKING_BRANCH`
if [ -n "$exists" ]; then
  git branch -D $HACKING_BRANCH
fi

git checkout -b $HACKING_BRANCH $RELEASE_BRANCH

cd ozone/
git checkout $RELEASE_OZONE_BRANCH
exists=`git show-ref refs/heads/$HACKING_OZONE_BRANCH`
if [ -n "$exists" ]; then
  git branch -D $HACKING_OZONE_BRANCH
fi
git checkout -b $HACKING_OZONE_BRANCH $RELEASE_OZONE_BRANCH
cd ..
git am $PATCH_DIR/00*


Update patch script with correct branch no.
Update patch script with correct branch no.
