On Wed, 16 Sep 2020 19:25:26 -0000, GitLab Bridge on behalf of bcrocker wrote:
- for cfg in
"$SCRIPT_DIR"/"${PACKAGE_NAME}""${KVERREL}""${SUBARCH}"*.config
+ for cfg in "$SCRIPT_DIR/${PACKAGE_NAME}${KVERREL}${SUBARCH}"*.config
It doesn't make sense to introduce undesirable quoting in one patch and
immediately fixing it in a follow up. This should be just a single patch.
Nacked-by: Jiri Benc <jbenc(a)redhat.com>
And when you update this, please be sure you run all the checks etc.
and that you are satisfied with the result before force pushing to
gitlab. There's really no reason for having 4 different versions of the
patches in one hour. That just generates noise on mailing lists and
makes review harder.
- rm "${cfgtmp}"
+ rm -f "$cfgtmp"
This change certainly does not do what you write in the patch
description. This should be a separate patch.
The rule is simple: do one thing in one patch and do it well. You have
incomplete changes in patch 1 (as they need a follow up in patch 2) and
you have two different things mixed in patch 2 (fixing up coding style
and adding -f to rm).
Thanks,
Jiri