exit before java -jar.
This commit is contained in:
parent
617923557a
commit
964b6f050b
@ -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\"]}"
|
||||
|
Loading…
Reference in New Issue
Block a user