瀏覽代碼

Only count .m[k4]v output files when syncing

Zachary Kotlarek 11 年之前
父節點
當前提交
8b427dc33b
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      sync/sync.sh

+ 1 - 1
sync/sync.sh

@@ -105,7 +105,7 @@ for infile in $FILES; do
 	IFS="${OLD_IFS}"
 
 	# Skip video files that exist
-	if ls "${OUT_DIR}/${nobase}".* >/dev/null 2>&1; then
+	if ls "${OUT_DIR}/${nobase}.m"[4k]v >/dev/null 2>&1; then
 		if [ $DEBUG -gt 0 ]; then
 			echo "Exists: ${SUB_DIR}/${infile}" 1>&2
 		fi