From 7f5b2f0a3d7bbfa4ef9f597eeaaf8f5f45751ba4 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Tue, 1 Apr 2014 18:57:19 -0700 Subject: [PATCH] Change to single-line echos for Info.plist --- data/scripts/create_apple_installer.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/data/scripts/create_apple_installer.sh b/data/scripts/create_apple_installer.sh index 3a28fbde0..b8c4fa3cc 100755 --- a/data/scripts/create_apple_installer.sh +++ b/data/scripts/create_apple_installer.sh @@ -99,16 +99,15 @@ macdeployqt $APP $_executables cp $HOME/lmms/data/lmms.icns $APP/Contents/Resources/ # Create "Info.plist" using lmms.icns file, http://iconverticons.com/online/) -echo "\ -\ -\ - \ - \ - CFBundleIconFile\ - lmms.icns\ - \ -" > "$APP/Contents/Info.plist" +echo -e "" > "$APP/Contents/Info.plist" +echo -e "> "$APP/Contents/Info.plist" +echo -e "\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" >> "$APP/Contents/Info.plist" +echo -e " " >> "$APP/Contents/Info.plist" +echo -e " " >> "$APP/Contents/Info.plist" +echo -e " CFBundleIconFile" >> "$APP/Contents/Info.plist" +echo -e " lmms.icns" >> "$APP/Contents/Info.plist" +echo -e " " >> "$APP/Contents/Info.plist" +echo -e "" >> "$APP/Contents/Info.plist" # Done. Ready to build DMG echo -e "\nFinished.\n\nPlease run \"create_apple_dmg.sh\" to build the installer.\n"