From 40c87b08afc1772c706e6e1f672406cd0aa1b6cb Mon Sep 17 00:00:00 2001
From: Nanne Baars <nbaars@xebia.com>
Date: Thu, 2 Jun 2016 22:03:54 +0200
Subject: [PATCH] #240 Java Error Message in Lesson "How to Bypass a Path Based
 Access Control Scheme"

---
 README.MD                      | 2 ++
 webgoat_developer_bootstrap.sh | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.MD b/README.MD
index 627493225..02472b39c 100644
--- a/README.MD
+++ b/README.MD
@@ -113,6 +113,7 @@ git clone https://github.com/WebGoat/WebGoat-Lessons.git
 
 ```Shell
 cd WebGoat
+git checkout develop
 mvn clean compile install
 cd ..
 ```
@@ -122,6 +123,7 @@ cd ..
 
 ```Shell
 cd WebGoat-Lessons
+git checkout develop
 mvn package
 cp target/plugins/*.jar ../WebGoat/webgoat-container/src/main/webapp/plugin_lessons/
 cd ..
diff --git a/webgoat_developer_bootstrap.sh b/webgoat_developer_bootstrap.sh
index c495e1e29..d40151483 100755
--- a/webgoat_developer_bootstrap.sh
+++ b/webgoat_developer_bootstrap.sh
@@ -114,7 +114,7 @@ developer_bootstrap() {
                 echo -e >&2 "$COL_RED *** ERROR: Could not cd into the WebGoat Directory. $COL_RESET"
                 return 1
             }
-            git pull origin master
+            git pull origin develop
         )
     fi
 
@@ -131,7 +131,7 @@ developer_bootstrap() {
                 echo -e >&2 "$COL_RED *** ERROR: Could not cd into the WebGoat-Lessons Directory $COL_RESET"
                 return 1
             }
-            git pull origin master
+            git pull origin develop
         )
     fi