summaryrefslogtreecommitdiff
path: root/gst-autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gst-autogen.sh')
-rw-r--r--gst-autogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-autogen.sh b/gst-autogen.sh
index 6b4c729..97b2c20 100644
--- a/gst-autogen.sh
+++ b/gst-autogen.sh
@@ -291,10 +291,12 @@ tool_run ()
{
tool=$1
options=$2
+ run_if_fail=$3
echo "+ running $tool $options..."
$tool $options || {
echo
echo $tool failed
+ eval $run_if_fail
exit 1
}
}