diff options
Diffstat (limited to 'Checkpatch.sh')
-rw-r--r-- | Checkpatch.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/Checkpatch.sh b/Checkpatch.sh deleted file mode 100644 index e4b2321..0000000 --- a/Checkpatch.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -DIR=`dirname $0` - -if [ ! -f "$DIR/../../../osd.c" ]; then - echo - echo - echo "Warning while building ttxtsubs plugin:" - echo $0: "Can not find VDR's osd.c so can not check for correct patch!" - echo - echo - exit 0; -fi - -grep vdrttxtsubshooks "$DIR/../../../osd.c" >> /dev/null; -if [ $? -ne 0 ]; then - echo - echo - echo "Error while building ttxtsubs plugin:" - echo "You have not patched your VDR - please read the README!" - echo - echo - exit 1; -fi - -#grep OSD_HOOK_2 "$DIR/../../../osd.c" >> /dev/null; -#if [ $? -ne 0 ]; then -# echo -# echo -# echo "Error while building ttxtsubs plugin:" -# echo " You have an older version of the VDR patch installed!" -# echo " You need to upgrade it." -# echo " Please do:" -# echo " cd /path/to/vdr [ replace with your path ]" -# echo " patch -b < PLUGINS/src/ttxtsubs/VDR.upgrade-patch" -# echo " make" -# echo -# exit 1; -#fi - |