This is an automated email from the ASF dual-hosted git repository.

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton-dotnet.git


The following commit(s) were added to refs/heads/main by this push:
     new d6b6bf7  PROTON-2551 Allow the easy enable of debug option in build 
script
d6b6bf7 is described below

commit d6b6bf7673a0f3f404e5c739e2bd2b6665110f20
Author: Timothy Bish <[email protected]>
AuthorDate: Fri May 27 15:29:44 2022 -0400

    PROTON-2551 Allow the easy enable of debug option in build script
---
 build.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 5abd930..f2439a8 100755
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,12 @@
 #  limitations under the License.
 #
 
-# set -xe
+if [ "$DEBUG" == 'true' ]; then
+   set -xe
+else
+   set -e
+fi
+
 cd "${0%/*}"
 
 VERSION=$(<VERSION.txt)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to