projects
/
rip_dvd
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin'
[rip_dvd/.git]
/
rip_dvd.wrap
diff --git
a/rip_dvd.wrap
b/rip_dvd.wrap
index 128581d602842ee745303ed081ae561ee3b2ddfe..76fcb3ccd62883d2b6f136cf562beaa69939c350 100755
(executable)
--- a/
rip_dvd.wrap
+++ b/
rip_dvd.wrap
@@
-21,6
+21,18
@@
if [ -z "$dvdtype" ]; then
usage
fi
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)
##############################################################################
# Local Machine Settings:
# Sources both the "default" conf file tracked by GIT (rip_dvd.conf.dist)