From d9d8cbacec10ba3420f6da53dc7e3036fcc46075 Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Tue, 3 Jan 2017 17:35:47 +0100 Subject: [PATCH] Fixes package.sh for OSX builds --- package.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.sh b/package.sh index f880223d0..207006c97 100644 --- a/package.sh +++ b/package.sh @@ -17,6 +17,11 @@ outputFolderMono='./_output_mono' outputFolderOsx='./_output_osx' outputFolderOsxApp='./_output_osx_app' +tr -d "\r" < $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr > $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr2 +rm $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr +chmod +x $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr2 +mv $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr2 $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr >& error.log + cp -r $outputFolder Radarr_Windows_$VERSION cp -r $outputFolderMono Radarr_Mono_$VERSION cp -r $outputFolderOsxApp Radarr_OSX_$VERSION