Sfoglia il codice sorgente

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 anni fa
parent
commit
0fa0e1aa27
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      scripts/canonical_data_check.sh

+ 1
- 1
scripts/canonical_data_check.sh Vedi File

@@ -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