#!/bin/bash
-RUNLTTV=~/devel/lttv/runlttv
+if [ -z "$RUNLTTV" ]; then
+ RUNLTTV=~/devel/lttv/runlttv
+fi
function error() {
echo "$0: $@" >/dev/stderr
if [ "$cnt" -eq "0" ]; then
echo "ERROR"
echo "Did not find at least one instance of this event ($cnt)"
+ exit 1
else
echo "Success"
exit 0