[sword-svn] r3707 - trunk/cmake

greg.hellings at crosswire.org greg.hellings at crosswire.org
Tue Apr 7 23:56:15 MST 2020


Author: greg.hellings
Date: 2020-04-07 23:56:15 -0700 (Tue, 07 Apr 2020)
New Revision: 3707

Modified:
   trunk/cmake/build-debug.sh
Log:
Tell the script to fail, and clear builds


Modified: trunk/cmake/build-debug.sh
===================================================================
--- trunk/cmake/build-debug.sh	2020-04-08 06:19:07 UTC (rev 3706)
+++ trunk/cmake/build-debug.sh	2020-04-08 06:56:15 UTC (rev 3707)
@@ -1,9 +1,11 @@
-#!/bin/bash -e
+#!/bin/bash
 #
 # A sample script showing how to build most of the options available to this system.
 # Invoke it from the top directory of SWORD by calling $ cmake/build-debug.sh
 #
 
+set -ex -o pipefail
+rm -rf build
 mkdir -p build
 cd build
 # Configure with Python and Perl bindings, examples, tests and a debug build into




More information about the sword-cvs mailing list