Remove quoting that broke zip tool usage
This commit is contained in:
parent
2f5b275675
commit
cc4ca215b4
|
@ -399,7 +399,7 @@ if [[ -n $ziptool ]]; then
|
||||||
if [[ $parallel == true ]]; then
|
if [[ $parallel == true ]]; then
|
||||||
parallel_tool="${ZIP_PARALLEL_TOOL[$ziptool]}"
|
parallel_tool="${ZIP_PARALLEL_TOOL[$ziptool]}"
|
||||||
info "Using $parallel_tool on the shrunk image"
|
info "Using $parallel_tool on the shrunk image"
|
||||||
if ! $parallel_tool "${options}" "$img"; then
|
if ! $parallel_tool ${options} "$img"; then
|
||||||
rc=$?
|
rc=$?
|
||||||
error $LINENO "$parallel_tool failed with rc $rc"
|
error $LINENO "$parallel_tool failed with rc $rc"
|
||||||
exit 18
|
exit 18
|
||||||
|
@ -407,7 +407,7 @@ if [[ -n $ziptool ]]; then
|
||||||
|
|
||||||
else # sequential
|
else # sequential
|
||||||
info "Using $ziptool on the shrunk image"
|
info "Using $ziptool on the shrunk image"
|
||||||
if ! $ziptool "${options}" "$img"; then
|
if ! $ziptool ${options} "$img"; then
|
||||||
rc=$?
|
rc=$?
|
||||||
error $LINENO "$ziptool failed with rc $rc"
|
error $LINENO "$ziptool failed with rc $rc"
|
||||||
exit 19
|
exit 19
|
||||||
|
|
Loading…
Reference in New Issue