summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GettingStarted.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/GettingStarted.rst')
-rw-r--r--llvm/docs/GettingStarted.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index 7ea5473c286..048d4a02484 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -655,10 +655,10 @@ consider placing the following git script in your path under the name
fi
git fetch
- old_branch=$(git rev-parse --abbrev-ref HEAD)
+ OLD_BRANCH=$(git rev-parse --abbrev-ref HEAD)
git checkout master 2> /dev/null
git svn rebase -l
- git checkout $old_breanch 2> /dev/null
+ git checkout $OLD_BRANCH 2> /dev/null
if [ ! -z $STASH ]; then
git stash pop >/dev/null
OpenPOWER on IntegriCloud