Преглед изворни кода

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