Procházet zdrojové kódy

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 před 8 roky
rodič
revize
0fa0e1aa27
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      scripts/canonical_data_check.sh

+ 1
- 1
scripts/canonical_data_check.sh Zobrazit soubor

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