Mercurial > hg > tony
changeset 439:2a9ffc3ea1b0
Don't bail out until after printing command line warning if no args provided
author | Chris Cannam |
---|---|
date | Tue, 31 Mar 2015 14:38:19 +0100 |
parents | 64dadfc5c6e8 |
children | 14aa33dc2a54 |
files | .hgsubstate deploy/osx/deploy.sh |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Tue Mar 31 14:31:13 2015 +0100 +++ b/.hgsubstate Tue Mar 31 14:38:19 2015 +0100 @@ -1,4 +1,4 @@ -e32a354434aa5fa7440efa17b716aacd761049fa chp +f9f5185ab1a9dbd5115ee8fb5c55397e3d753854 chp d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay 1629209f5bf21fc926bb6abd5ab786e78c5d7677 pyin 55ece8862b6d3a54aad271a53f9c1615e5d3bcf8 sv-dependency-builds
--- a/deploy/osx/deploy.sh Tue Mar 31 14:31:13 2015 +0100 +++ b/deploy/osx/deploy.sh Tue Mar 31 14:38:19 2015 +0100 @@ -1,6 +1,6 @@ #!/bin/bash -set -eu +set -e # Execute this from the top-level directory of the project (the one # that contains the .app bundle). Supply the name of the .app bundle @@ -18,6 +18,8 @@ fi app=`basename "$source" .app` +set -u + version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h` stem=${version%%-*} case "$stem" in