lttv: Look for executable in run script
[lttv.git] / runlttv
diff --git a/runlttv b/runlttv
index fd774d3042c19c624f665f6798eb8f0828914c0d..31728d65b0d3c786cd93b5b8d08ad5b0c2a6fbc1 100755 (executable)
--- a/runlttv
+++ b/runlttv
@@ -30,9 +30,11 @@ ARGS=\
 "-L lttv/modules/gui/interrupts/.libs -m interrupts "\
 "-L lttv/modules/gui/histogram/.libs -m guihistogram"
 
-LTTV_EXEC="lttv/lttv/.libs/lttv.real"
-
-if [ ! -e "$LTTV_EXEC" ]; then
+if [ -e "lttv/lttv/.libs/lttv.real" ]; then
+       LTTV_EXEC="lttv/lttv/.libs/lttv.real"
+elif [ -e "lttv/lttv/lttv.real" ]; then
+       LTTV_EXEC="lttv/lttv/lttv.real"
+else
        echo "error: LTTV should be compiled before running this script." >/dev/stderr
        exit 1
 fi
This page took 0.022094 seconds and 4 git commands to generate.