]> https://gitweb.dealii.org/ - candi.git/commitdiff
fix error handling in package_specific_setup
authorTimo Heister <timo.heister@gmail.com>
Sun, 4 Oct 2015 17:59:02 +0000 (13:59 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 4 Oct 2015 17:59:02 +0000 (13:59 -0400)
candi.sh

index 573477c0eaefe76a6ba490a4a49a2a83c844d11f..55fbca346a15997631b76e0e3d5cd44eabfe45fe 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -259,8 +259,8 @@ package_build() {
 
     # Carry out any package-specific setup
     package_specific_setup
-    cd ${BUILDDIR}
     quit_if_fail "There was a problem in build setup for ${NAME}."
+    cd ${BUILDDIR}
 
     # Use the appropriate build system to compile and install the
     # package

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.