Commit 433043b1 by Slater-Victoroff

Removed starting courseware clone

parent 49ed93a4
...@@ -99,23 +99,23 @@ clone_repos() { ...@@ -99,23 +99,23 @@ clone_repos() {
# Not certain if these are making it in to the open source release. # Not certain if these are making it in to the open source release.
# If there's a github permissions error, remove this section of code. # If there's a github permissions error, remove this section of code.
# You should get a working environment sans a demo course. # You should get a working environment sans a demo course.
cd "$BASE" # cd "$BASE"
mkdir -p "$BASE/data" # mkdir -p "$BASE/data"
REPO="content-mit-6002x" # REPO="content-mit-6002x"
if [[ -d "$BASE/data/$REPO/.git" ]]; then # if [[ -d "$BASE/data/$REPO/.git" ]]; then
output "Pulling $REPO" # output "Pulling $REPO"
cd "$BASE/data/$REPO" # cd "$BASE/data/$REPO"
git pull # git pull
else # else
output "Cloning $REPO" # output "Cloning $REPO"
if [[ -d "$BASE/data/$REPO" ]]; then # if [[ -d "$BASE/data/$REPO" ]]; then
output "Creating backup for existing demo course" # output "Creating backup for existing demo course"
mv "$BASE/data/$REPO" "${BASE}/data/$REPO.bak.$$" # mv "$BASE/data/$REPO" "${BASE}/data/$REPO.bak.$$"
fi # fi
cd "$BASE/data" # cd "$BASE/data"
git clone https://github.com/MITx/content-mit-6002x.git # git clone https://github.com/MITx/content-mit-6002x.git
fi # fi
} # }
### START ### START
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment