Drill down on what genassets command is failing.
This commit is contained in:
parent
cc5c45e3aa
commit
66e893fd83
@ -3,7 +3,7 @@
|
|||||||
cd "${BASH_SOURCE%/*}"
|
cd "${BASH_SOURCE%/*}"
|
||||||
source bashlib
|
source bashlib
|
||||||
trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR
|
trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR
|
||||||
set -eE
|
set -e
|
||||||
cd ..
|
cd ..
|
||||||
export PATH+=:/usr/local/bin
|
export PATH+=:/usr/local/bin
|
||||||
|
|
||||||
@ -54,6 +54,8 @@ splashes=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
copyImage() {
|
copyImage() {
|
||||||
|
trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR
|
||||||
|
set -e
|
||||||
local src=$1 dst=$2
|
local src=$1 dst=$2
|
||||||
|
|
||||||
if [[ $src = *.9.png || $src = *.9@*.png ]]; then
|
if [[ $src = *.9.png || $src = *.9@*.png ]]; then
|
||||||
@ -68,8 +70,11 @@ copyImage() {
|
|||||||
done <<< "$niftyNinePatch"
|
done <<< "$niftyNinePatch"
|
||||||
fnip
|
fnip
|
||||||
else
|
else
|
||||||
|
echo >&2 'pinf'
|
||||||
pinf '%s -> %s' "${src##*/}" "${dst##*/}"
|
pinf '%s -> %s' "${src##*/}" "${dst##*/}"
|
||||||
|
echo >&2 'cp <$src> <$dst>'
|
||||||
cp "$src" "$dst"
|
cp "$src" "$dst"
|
||||||
|
echo >&2 'fnip'
|
||||||
fnip
|
fnip
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
cd "${BASH_SOURCE%/*}"
|
cd "${BASH_SOURCE%/*}"
|
||||||
source ./bashlib
|
source ./bashlib
|
||||||
trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR
|
trap 'echo >&2 "ERROR: $?: $BASH_COMMAND"' ERR
|
||||||
set -eE
|
set -e
|
||||||
cd ..
|
cd ..
|
||||||
export PATH+=:/usr/libexec
|
export PATH+=:/usr/libexec
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user