瀏覽代碼

Fix canonical data check script

The script was reporting version as different because of windows line
ending. These line endings are now being removed before the version
comparison.
Frida Johanne Tveit 8 年之前
父節點
當前提交
0fa0e1aa27
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      scripts/canonical_data_check.sh

+ 1
- 1
scripts/canonical_data_check.sh 查看文件

@@ -93,7 +93,7 @@ do
93 93
         continue
94 94
     fi
95 95
 
96
-    track_data_version=$(cat $track_exercise_version_file_path)
96
+    track_data_version=$(cat $track_exercise_version_file_path | sed 's/\r$//')
97 97
 
98 98
     if [ "$track_data_version" = "$canonical_data_version" ]
99 99
     then