changeset 2396:ab09e05b0d35

Restore this check
author Chris Cannam
date Tue, 22 Oct 2019 17:13:50 +0100
parents 5d2d3fdae354
children 1a4bd4aa40ec
files deploy/clean-build-and-package
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/clean-build-and-package	Tue Oct 22 16:32:28 2019 +0100
+++ b/deploy/clean-build-and-package	Tue Oct 22 17:13:50 2019 +0100
@@ -4,10 +4,10 @@
 
 current=$(hg id | awk '{ print $1; }')
 
-#case "$current" in
-#    *+) echo "ERROR: Current working copy has been modified - not proceeding"; exit 2;;
-#    *);;
-#esac
+case "$current" in
+    *+) echo "ERROR: Current working copy has been modified - not proceeding";exit 2;;
+    *);;
+esac
 
 version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h`