dvdrip: Cope with `/' in the output name.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Feb 2022 22:29:51 +0000 (22:29 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Feb 2022 22:29:51 +0000 (22:29 +0000)
dvdrip

diff --git a/dvdrip b/dvdrip
index 27e96e4..1226c41 100755 (executable)
--- a/dvdrip
+++ b/dvdrip
@@ -110,6 +110,7 @@ case ${dir+t} in
   t) tag="${dir}_${n}_${title}" out="$dir/$n. $title" ;;
   *) tag=$title out=$title ;;
 esac
+tag=${tag//\//_}
 
 archdo run_setrc test -f "$archpath${sub+/$sub}/$out.iso"
 case $rc,$force in