Skip to content
Snippets Groups Projects
Commit 2b39df75 authored by robjmcgibbon's avatar robjmcgibbon
Browse files

Bugfix in make_page.sh

parent d4c267e1
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash -l
set -e set -e
...@@ -23,7 +23,7 @@ rsync -auv compiled/* ../ ...@@ -23,7 +23,7 @@ rsync -auv compiled/* ../
[ ! -d "swift" ] && git clone "git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" "swift" [ ! -d "swift" ] && git clone "git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" "swift"
cd swift cd swift
git checkout master [ "$(git rev-parse --abbrev-ref HEAD)" != "master" ] && git checkout master
git pull git pull
# Generate read the docs # Generate read the docs
cd doc/RTD cd doc/RTD
...@@ -42,7 +42,7 @@ cp swift/doc/onboardingGuide/build/latex/onboarding.pdf ../onboarding.pdf ...@@ -42,7 +42,7 @@ cp swift/doc/onboardingGuide/build/latex/onboarding.pdf ../onboarding.pdf
# Generate read the docs for the zoom branch # Generate read the docs for the zoom branch
[ ! -d "swift_will" ] && git clone "git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" "swift_will" [ ! -d "swift_will" ] && git clone "git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" "swift_will"
cd swift_will cd swift_will
git checkout zoom_docs [ "$(git rev-parse --abbrev-ref HEAD)" != "zoom_docs" ] && git checkout zoom_docs
git pull git pull
cd doc/RTD cd doc/RTD
[ -d "build" ] && rm -rf build [ -d "build" ] && rm -rf build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment