projects
/
rip_dvd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c9a04
)
Added code to remove trailing '.' character from the end of the dvdname
author
Alan J. Pippin
<ajp@pippins.net>
Wed, 20 May 2009 15:37:11 +0000
(09:37 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Wed, 20 May 2009 15:37:11 +0000
(09:37 -0600)
rip_dvd
patch
|
blob
|
history
diff --git
a/rip_dvd
b/rip_dvd
index 57297544d5b3084fa0e0cb1ba9449fd2d427252b..521bf03f54502ecc93c261d4d79933c0aadbc697 100755
(executable)
--- a/
rip_dvd
+++ b/
rip_dvd
@@
-246,6
+246,9
@@
if [ -z "$vobfile" ]; then
vobfile="$dest/$dvdname.VOB"
fi
+# remove bad characters from the dvdname
+dvdname=${dvdname%.} # remove trailing '.' character
+
# make a "safe" dvdname (remove special characters)
safedvdname=`basename "$dvdname" | sed 's/[ !&*\\$?]/_/g'`