diff --git a/scripts/update_version_files.py b/scripts/update_version_files.py index ab57792246..a7218fb1d0 100755 --- a/scripts/update_version_files.py +++ b/scripts/update_version_files.py @@ -324,6 +324,10 @@ def main(): VIEWER_CHANNEL = viewer_channel SERVER_CHANNEL = server_channel + # ND: Get rid of newlines that can sneak in on windows. See FIRE-3974 + VIEWER_CHANNEL = VIEWER_CHANNEL.replace( '\r', '' ) + VIEWER_CHANNEL = VIEWER_CHANNEL.replace( '\n', '' ) + # Iterate through all of the files in the map, and apply the # substitution filters for filename in re_map.keys():