[Pcsclite-git-commit] [CCID] 01/01: MacOSX/configure: exit in error if configure failed

Ludovic Rousseau rousseau at moszumanska.debian.org
Sun Jan 10 16:23:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository CCID.

commit 33964bcc8f9cbbb9898ac6aa9bbfc3ea98569927
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Sun Jan 10 17:21:59 2016 +0100

    MacOSX/configure: exit in error if configure failed
    
    Exit with the return code from ./configure
    It allows to test if the script execution succeeded or not.
---
 MacOSX/configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/MacOSX/configure b/MacOSX/configure
index 7c97047..ab95d23 100755
--- a/MacOSX/configure
+++ b/MacOSX/configure
@@ -125,6 +125,10 @@ set -x
 	$CONFIGURE_ARGS \
 	"$@"
 
+r=$?
+
 # force a regeneration of Info.plist
 rm -f src/Info.plist
 
+# exit with the return code from ./configure
+exit $r

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/CCID.git



More information about the Pcsclite-cvs-commit mailing list