aboutsummaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2013-04-14 20:29:45 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2013-04-14 20:29:45 +0200
commit519f2cd182c4828e74429e883139fbb8b1a11d3c (patch)
tree461d4c2c68e7d0bbbca60263d159ee267e207759 /Examples
parent46540ff11edf9b5b6b0df44a9df2790e0a48eb7a (diff)
kranc: Don't rely on Mathematica exit code for detecting failure
When no licence is available, Mathematica still exits with a zero exit code. This causes dependency-based systems such as Make to assume that the thorn was created successfully, when it might not have been. To work around this, we perform a file operation (deleting a temporary directory) from within Mathematica, and check that this was successful after Mathematica finishes, and adjust the exit code of the script accordingly. Fixes Issue #39.
Diffstat (limited to 'Examples')
0 files changed, 0 insertions, 0 deletions