Re: [PATCH 6/6] powerpc/boot/install.sh: Fix shellcheck warnings

2025-04-22 Thread Stephen Rothwell
Hi Madhavan, On Tue, 22 Apr 2025 18:40:40 +0530 Madhavan Srinivasan wrote: > > -if [ -f $4/$image_name-$1 ]; then > - mv $4/$image_name-$1 $4/$image_name-$1.old > +if [ -f "$4"/"$image_name"-"$1" ]; then > + mv "$4"/"$image_name"-"$1" "$4"/"$image_name"-"$1".old "$4/$image_name-$1" is j

[PATCH 6/6] powerpc/boot/install.sh: Fix shellcheck warnings

2025-04-22 Thread Madhavan Srinivasan
Fix shellcheck warning such as "Double quote to prevent globbing and word splitting." and Use $(...) notation instead of legacy backticks `...`. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/boot/install.sh | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/