# HG changeset patch # User Chris Cannam # Date 1427809099 -3600 # Node ID 2a9ffc3ea1b07c09a457cd4e05394dff5f7832cb # Parent 64dadfc5c6e87feb87a2d06846c29d65f3f93d94 Don't bail out until after printing command line warning if no args provided diff -r 64dadfc5c6e8 -r 2a9ffc3ea1b0 .hgsubstate --- 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 diff -r 64dadfc5c6e8 -r 2a9ffc3ea1b0 deploy/osx/deploy.sh --- 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