From 90fbe49d3dde470eee39e74f8b9323cccb82a739 Mon Sep 17 00:00:00 2001 From: Nick Muller Date: Thu, 11 Apr 2019 12:09:28 +0200 Subject: [PATCH] Convert Windows line endings to Unix line endings from Meteor release file. --- scripts/install-meteor.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install-meteor.sh b/scripts/install-meteor.sh index 4a49a4d..6ee7526 100755 --- a/scripts/install-meteor.sh +++ b/scripts/install-meteor.sh @@ -11,6 +11,9 @@ else # download installer script curl -v https://install.meteor.com -o /tmp/install_meteor.sh + # convert potential Windows line endings to Unix line endings. + sed -i.bak 's/\r$//' $APP_SOURCE_DIR/.meteor/release + # read in the release version in the app METEOR_VERSION=$(head $APP_SOURCE_DIR/.meteor/release | cut -d "@" -f 2)