From 964b6f050b9e540e3e3d1f194e08756d7edf1a36 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 18 Nov 2014 07:17:28 -0500 Subject: [PATCH] exit before java -jar. --- Scripts/genassets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/genassets b/Scripts/genassets index 7d142707..891d4c71 100755 --- a/Scripts/genassets +++ b/Scripts/genassets @@ -57,8 +57,8 @@ copyImage() { if [[ $src = *.9.png || $src = *.9@*.png ]]; then pinf '%s -> %s (ninepatch)' "${src##*/}" "${dst##*/}" - niftyNinePatch=$(java -Dapple.awt.UIElement=true -jar Scripts/NiftyNinePatchHelper.jar "$src" "$dst") || return 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" [[ $var = padding ]] && IFS=, read paddingTop paddingRight paddingBottom paddingLeft <<< "${value//[px\"]}"