xbenjii / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
0 stars 0 forks source link

Torrentexpander crash on startup #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./torrentexpander.sh
2. running in debug mode
3. ./torrentexpander.sh /media/BitTorrent/ /media/Downloads/
4. The following error is dumped:
./torrentexpander.sh: line 623: conditional binary operator expected
./torrentexpander.sh: line 623: syntax error near `=~'
./torrentexpander.sh: line 623: `if [[ "$supported_extensions_rev"  =~ rar ]] 
|| [[ "$tv_show_extensions_rev" = ~ rar ]] || [[ "$movies_extensions_rev" = ~ 
rar ]] || [[ "$music_extensions_rev" = ~ rar ]] || [[ 
"$supported_extensions_rev" = ~ zip ]] || [[ "$tv_show_extensions_rev" = ~ zip 
]] || [[ "$movies_extensions_rev" = ~ zip ]] || [[ "$music_extensions_rev" = ~ 
zip ]]; then echo "Your supported file extensions are incorrect please edit 
your torrentexpander_settings.ini file" >> "$errors_file"; if [ "$has_display" 
== "yes" ]; then echo "Your supported file extensions are incorrect please edit 
your torrentexpander_settings.ini file"; fi; quit_on_error="yes"; fi'

What is the expected output? What do you see instead?
A crash

What version of the product are you using? On what operating system?
latest - 0.40

Please provide any additional information below.

Original issue reported on code.google.com by per.t...@gmail.com on 17 Oct 2013 at 10:07