In /usr/bin/aptitude-create-state-bundle line 36: if ([ $PRINT_INPUTS = 0 ] && [ "$#" -ne 1 ]) || ^-- SC2235: Use { ..; } instead of (..) to avoid subshell overhead. In /usr/bin/aptitude-create-state-bundle line 37: ([ $PRINT_INPUTS = 1 ] && [ "$#" -ne 0 ]) || ^-- SC2235: Use { ..; } instead of (..) to avoid subshell overhead. In /usr/bin/aptitude-create-state-bundle line 67: for x in ${INPUTS[@]}; do echo $x; done ^----------^ SC2068: Double quote array expansions to avoid re-splitting elements. In /usr/bin/aptitude-create-state-bundle line 89: (cd / && tar c ${REALINPUTS[@]}) | $COMPRESSOR -c > "$OUTFILE" ^--------------^ SC2068: Double quote array expansions to avoid re-splitting elements. For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2235 -- Use { ..; } instead of (..) to av...