mirror of
				https://github.com/Jonny007-MKD/OTR-SaneRename
				synced 2025-11-03 16:15:35 +01:00 
			
		
		
		
	Removed nocache from test, use command line for that
This commit is contained in:
		
							parent
							
								
									6720ed6bbf
								
							
						
					
					
						commit
						64e6feb409
					
				
					 1 changed files with 2 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -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)";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue