소스 검색

Correctly add file extension in non-recoded translations

Zachary Kotlarek 14 년 전
부모
커밋
dea54b66ec
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      toMov.sh

+ 2 - 2
toMov.sh

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