X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=runlttv;h=31728d65b0d3c786cd93b5b8d08ad5b0c2a6fbc1;hb=011e5097367fb6ca911b128beee969994d4cf5d5;hp=fd774d3042c19c624f665f6798eb8f0828914c0d;hpb=7d3dcbe0d57bd780a3c392a9aa555eb1d52c6cca;p=lttv.git diff --git a/runlttv b/runlttv index fd774d30..31728d65 100755 --- 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