From: Andrew Ruthven Date: Sat, 11 Jun 2022 07:59:23 +0000 (+1200) Subject: Use PATH to find xmltv-proc-nz X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a58a86eedf321cb38cca241828ac94d31f381b2;p=mythtv-epg-nz.git Use PATH to find xmltv-proc-nz --- diff --git a/bin/do_mhegepgsnoop b/bin/do_mhegepgsnoop index 01f14ac..19f18c4 100644 --- a/bin/do_mhegepgsnoop +++ b/bin/do_mhegepgsnoop @@ -65,7 +65,7 @@ else # The MHEG5 data is raw and has not been processed by xmltv-proc-nz. # So do that now. echo "Running xmltv-proc-nz on the MHEG5 data" - cat $OUTPUT_FILE | /usr/local/bin/xmltv-proc-nz --verbose >$TEMP_FILE + cat $OUTPUT_FILE | xmltv-proc-nz --verbose >$TEMP_FILE RET_CODE=$? if [ $RET_CODE -ne 0 ]; then echo "****** xmltv-proc-nz on MHEG5 Freeview data failed, using raw data ******"