Bläddra i källkod

Correctly add file extension in non-recoded translations

Zachary Kotlarek 14 år sedan
förälder
incheckning
dea54b66ec
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      toMov.sh

+ 2 - 2
toMov.sh

@@ -30,11 +30,11 @@ fi
 # Convert to MOV or MKV
 # Convert to MOV or MKV
 tmpFile="`mktemp -t toMov`"
 tmpFile="`mktemp -t toMov`"
 if which catmovie > /dev/null 2>&1; then
 if which catmovie > /dev/null 2>&1; then
+	outFile="${outFile}.mov"
 	catmovie -q -self-contained -o "${tmpFile}" "${inFile}" 2>/dev/null
 	catmovie -q -self-contained -o "${tmpFile}" "${inFile}" 2>/dev/null
-	outfile="${outfile}.mov"
 elif which mkvmerge > /dev/null 2>&1; then
 elif which mkvmerge > /dev/null 2>&1; then
+	outFile="${outFile}.mkv"
 	mkvmerge -o "${tmpFile}" "${inFile}"
 	mkvmerge -o "${tmpFile}" "${inFile}"
-	outfile="${outfile}.mkv"
 fi
 fi
 
 
 # Check for errors
 # Check for errors