# NOTE: You can override ANY of the global variables listed in the top of rip_dvd here
###########################################################################################
-# specify the path to the rip_dvd script
-ripcmd="/myth/video/bin/rip_dvd"
+# specify the path to the rip_dvd script (no need to do this if rip_dvd is in
+# the same directory as the rip_dvd.wrap script (which is likely).
+# ripcmd="/myth/video/bin/rip_dvd"
# Specify the device path to the DVD drive
dev=/dev/dvd
usage
fi
+mydir=$(cd $(dirname $0) && pwd)
+if [ -z "$ripcmd" ]
+then
+ if [ -x "$mydir/rip_dvd" ]
+ then
+ ripcmd="$mydir/rip_dvd"
+ else
+ echo >&2 "Cannot find your rip_dvd command!"
+ exit 1
+ fi
+fi
+
##############################################################################
# Local Machine Settings:
# Sources both the "default" conf file tracked by GIT (rip_dvd.conf.dist)