From c67f1e46c8ee398c60c45053d42284a57fb5154f Mon Sep 17 00:00:00 2001
From: Pete Peterson <petersonpf@ornl.gov>
Date: Thu, 19 Jul 2018 07:44:20 -0400
Subject: [PATCH] Flip logic in checking for changes

---
 buildconfig/Jenkins/dev_site.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildconfig/Jenkins/dev_site.sh b/buildconfig/Jenkins/dev_site.sh
index ea072f8d8a9..cb01d274da2 100755
--- a/buildconfig/Jenkins/dev_site.sh
+++ b/buildconfig/Jenkins/dev_site.sh
@@ -54,7 +54,7 @@ if [ "builder" == "$USER" ]; then
     git config user.email "mantid-buildserver@mantidproject.org"
 fi
 
-if [ $(git diff --quiet) ]; then
+if [ ! $(git diff --quiet) ]; then
     echo "Committing new site"
     git add .
     git commit -m "Automatic update of developer site"
-- 
GitLab