From cc4ca215b4bd09c33ac8506b810d7d5ebec0e7e5 Mon Sep 17 00:00:00 2001 From: Drew Bonasera Date: Mon, 15 Jun 2020 18:41:42 -0400 Subject: [PATCH] Remove quoting that broke zip tool usage --- pishrink.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pishrink.sh b/pishrink.sh index a26e828..28e9cdf 100755 --- a/pishrink.sh +++ b/pishrink.sh @@ -399,7 +399,7 @@ if [[ -n $ziptool ]]; then if [[ $parallel == true ]]; then parallel_tool="${ZIP_PARALLEL_TOOL[$ziptool]}" info "Using $parallel_tool on the shrunk image" - if ! $parallel_tool "${options}" "$img"; then + if ! $parallel_tool ${options} "$img"; then rc=$? error $LINENO "$parallel_tool failed with rc $rc" exit 18 @@ -407,7 +407,7 @@ if [[ -n $ziptool ]]; then else # sequential info "Using $ziptool on the shrunk image" - if ! $ziptool "${options}" "$img"; then + if ! $ziptool ${options} "$img"; then rc=$? error $LINENO "$ziptool failed with rc $rc" exit 19