#!/bin/sh -e ## 92_vdrdevel.dpatch by Thomas Günther <@toms-cafe.de> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Substitute pathes: vdr -> vdrdevel. if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) perl -i -n -e 's.(#\s*include\s*)&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0