From 719deb7926be7f9cfb47c0956940ef76972fe27b Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 18 Nov 2014 00:11:27 -0500 Subject: [PATCH] exit in front of niftyninepatch --- Scripts/genassets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/genassets b/Scripts/genassets index b10cd763..891d4c71 100755 --- a/Scripts/genassets +++ b/Scripts/genassets @@ -57,6 +57,7 @@ copyImage() { if [[ $src = *.9.png || $src = *.9@*.png ]]; then pinf '%s -> %s (ninepatch)' "${src##*/}" "${dst##*/}" +exit niftyNinePatch=$(java -Dapple.awt.UIElement=true -jar Scripts/NiftyNinePatchHelper.jar "$src" "$dst") || return while IFS='=' read var value; do [[ $var = imageMode ]] && value=${value#'"resize:'} value=${value%'"'} && IFS=, read capLeft capWidth capRight capTop _ _ _ capHeight _ _ _ capBottom <<< "$value" @@ -116,7 +117,6 @@ if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] || rm "$appiconset/Contents.json" exit fi -exit done printf '],"info":{"version":1,"author":"genassets"},"properties":{"pre-rendered":true}}\n'