Mercurial > hg > sonic-visualiser
changeset 2432:a46ca166c29c
Ask for confirmation
author | Chris Cannam |
---|---|
date | Tue, 10 Dec 2019 09:32:52 +0000 |
parents | 4971d3e6d9d2 |
children | 43ac4c02efe9 |
files | deploy/src/archive.sh |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/src/archive.sh Tue Dec 10 09:28:49 2019 +0000 +++ b/deploy/src/archive.sh Tue Dec 10 09:32:52 2019 +0000 @@ -6,6 +6,11 @@ v=`echo "$tag" | sed 's/sv_v//' | sed 's/_.*$//'` +echo -n "Package up source code for version $v from tag $tag [Yn] ? " +read yn +case "$yn" in "") ;; [Yy]) ;; *) exit 3;; esac +echo "Proceeding" + current=$(hg id | awk '{ print $1; }') case "$current" in