if compile script fails, fail

This commit is contained in:
espie 2017-11-02 13:15:23 +00:00
parent 93e239d08e
commit c9c6e0f6a0

View File

@ -1,12 +1,18 @@
$OpenBSD: patch-compile_linux_kissfft_sh,v 1.1 2017/11/02 13:09:26 jca Exp $
$OpenBSD: patch-compile_linux_kissfft_sh,v 1.2 2017/11/02 13:15:23 espie Exp $
- respect CXX/CXXFLAGS
- don't rely on inter-libraries deps
- oh, and error out in case of problems
Index: compile_linux_kissfft.sh
--- compile_linux_kissfft.sh.orig
+++ compile_linux_kissfft.sh
@@ -5,7 +5,7 @@ fluid -c GUI.fl
@@ -1,11 +1,12 @@
outfile=paulstretch
+set -e
rm -f $outfile
fluid -c GUI.fl
fluid -c FreeEditUI.fl