# HG changeset patch # User Chris Cannam # Date 1571760830 -3600 # Node ID ab09e05b0d35885a8c992bc5e31cb3b43f1a33c9 # Parent 5d2d3fdae35448e54c0fc7f16dd3a078ca49c5b9 Restore this check diff -r 5d2d3fdae354 -r ab09e05b0d35 deploy/clean-build-and-package --- 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`