All pastes #1788056 Raw Edit

tovid wrapper

public shellscript v1 · immutable
#1788056 ·published 2010-02-06 14:50 UTC
rendered paste body
# tovid - a wrapper for the tovid scripts#!/bin/bashPATH=/usr/lib/tovid/:$PATH  # this line configured by autotoolsSEPARATOR="========================================================="usage_error(){    echo "$SEPARATOR"    echo "$@"    echo "Please provide the name of the script to run"    echo "See idvid(1), makedvd(1), makemenu(1), makevcd(1), makexml(1), "    echo -n "postproc(1), makevid(1), todisc(1)"    echo    exit 1}if test -z "$1"; then    usage_errorfiwhile test $# -gt 0; do    DO_SHIFT=:    case "$1" in        "makevid" | "todisc" | "makemenu" | "makexml" | "makedvd" )        exec "$@"        ;;        * )        test -n "$1" && usage_error "Unrecognized command-line option: '$1'"    esacdone