From afb0a0365a5f79eeed130c847868b7e4adee606c Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Mon, 17 Nov 2014 23:59:11 -0500 Subject: [PATCH] move exit down a bit.. --- Scripts/genassets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/genassets b/Scripts/genassets index 75a68d9b..eea2f17b 100755 --- a/Scripts/genassets +++ b/Scripts/genassets @@ -79,7 +79,6 @@ launchimage="$xcassets/LaunchImage.launchimage" ios_icon=MasterPassword/Resources/Media/ios/icon ios_launch=MasterPassword/Resources/Media/ios/launch mac_icon=MasterPassword/Resources/Media/mac/icon -exit if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] || [[ "$(latest "$mac_icon"/*)" -nt "$appiconset/Contents.json" ]]; then @@ -91,6 +90,7 @@ if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] || IFS=: read icon filename <<< "$icon" IFS=@ read px scale idiom os <<< "$icon" pt=$(( px / scale )) +exit suffix= [[ $scale != 1 ]] && suffix=@${scale}x