Skip to content
Snippets Groups Projects
Commit c67f1e46 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Flip logic in checking for changes

parent 80cac032
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ if [ "builder" == "$USER" ]; then ...@@ -54,7 +54,7 @@ if [ "builder" == "$USER" ]; then
git config user.email "mantid-buildserver@mantidproject.org" git config user.email "mantid-buildserver@mantidproject.org"
fi fi
if [ $(git diff --quiet) ]; then if [ ! $(git diff --quiet) ]; then
echo "Committing new site" echo "Committing new site"
git add . git add .
git commit -m "Automatic update of developer site" git commit -m "Automatic update of developer site"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment