Revert "Remove verbose option setting from zipping tool options"
This reverts commit 66355825bd
.
I removed a feature that was used so I'm adding it back as talked about in #147
This commit is contained in:
parent
cc4ca215b4
commit
762acea7fc
|
@ -395,6 +395,7 @@ if [[ -n $ziptool ]]; then
|
|||
envVarname="${MYNAME^^}_${ziptool^^}" # PISHRINK_GZIP or PISHRINK_XZ environment variables allow to override all options for gzip or xz
|
||||
[[ $parallel == true ]] && options="${ZIP_PARALLEL_OPTIONS[$ziptool]}"
|
||||
[[ -v $envVarname ]] && options="${!envVarname}" # if environment variable defined use these options
|
||||
[[ $verbose == true ]] && options="$options -v" # add verbose flag if requested
|
||||
|
||||
if [[ $parallel == true ]]; then
|
||||
parallel_tool="${ZIP_PARALLEL_TOOL[$ziptool]}"
|
||||
|
|
Loading…
Reference in New Issue