1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2024-05-02 20:54:04 +02:00

Removed nocache from test, use command line for that

This commit is contained in:
Jonny007-MKD 2015-11-25 09:51:35 +01:00
parent 6720ed6bbf
commit 64e6feb409

View file

@ -1,6 +1,7 @@
#!/bin/bash
#srArgs="-d"
# use first parameter to add parameters for sanerenamix
srArgs="$1"
declare -A files
@ -54,13 +55,6 @@ for the_file in "${!files[@]}"; do
ln -s "testing/$epg_file" "$path/$epg_file"
fi
result="$($path/saneRenamix.sh $srArgs -c -s -f "$the_file")";
if [ "$result" != "${files["$the_file"]}" ]; then
echo -e "\033[31m$the_file -> $result (nocache)";
echo "'$result' != '${files[$the_file]}'";
fi
result="$($path/saneRenamix.sh $srArgs -s -f "$the_file")";
if [ "$result" != "${files["$the_file"]}" ]; then
echo -e "\033[31m$the_file -> $result (cache)";