From 185c0ba4b93a2647b41ed0afe9ea3f5cfdbfbe77 Mon Sep 17 00:00:00 2001 From: Francois Dugast Date: Fri, 28 Mar 2025 20:57:38 +0100 Subject: [PATCH] board/sifive/hifive-unleashed: fix shellcheck warning in post-build.sh This removes a warning reported by shellcheck: "Double quote to prevent globbing and word splitting". As a result, the file can be removed from .checkpackageignore. Signed-off-by: Francois Dugast Signed-off-by: Julien Olivain --- .checkpackageignore | 1 - board/sifive/hifive-unleashed/post-build.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.checkpackageignore b/.checkpackageignore index 0907cb39ed..7b02d2a8d0 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -72,7 +72,6 @@ board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h- board/roseapplepi/post-build.sh Shellcheck board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch lib_patch.Upstream board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch lib_patch.Upstream -board/sifive/hifive-unleashed/post-build.sh Shellcheck board/solidrun/clearfog/post-build.sh Shellcheck board/solidrun/macchiatobin/post-build-mainline.sh Shellcheck board/solidrun/macchiatobin/post-build.sh Shellcheck diff --git a/board/sifive/hifive-unleashed/post-build.sh b/board/sifive/hifive-unleashed/post-build.sh index b418120652..14c80558d5 100755 --- a/board/sifive/hifive-unleashed/post-build.sh +++ b/board/sifive/hifive-unleashed/post-build.sh @@ -1,2 +1,2 @@ #!/bin/sh -cp $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr +cp "$BINARIES_DIR/boot.scr" "$TARGET_DIR/boot/boot.scr"