Browse Source

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 years ago
parent
commit
0fa0e1aa27
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/canonical_data_check.sh

+ 1
- 1
scripts/canonical_data_check.sh View 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