Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in script matchsubtitles.orig #1

Closed
PacoH opened this issue Aug 17, 2014 · 1 comment
Closed

Error in script matchsubtitles.orig #1

PacoH opened this issue Aug 17, 2014 · 1 comment
Assignees

Comments

@PacoH
Copy link

PacoH commented Aug 17, 2014

Error:
./matchsubtitles.orig: line 96: ${ext,,}: bad substitution

Line 96:
case "${ext,,}" in avi|mpg|mpeg|mkv|mp4|ogv) ;; *) continue ;; esac

Correction:
case "${ext}" in avi|mpg|mpeg|mkv|mp4|ogv) ;; *) continue ;; esac

Also, running without --run only echoes first file even though with --run all files are processed.

With correction, script works great! Thanks!

@atanarro
Copy link
Owner

Thank you PacoH but actually this script belongs to https://github.com/MestreLion/scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants