[Buildroot] [git commit] board/beaglebone: fix shellcheck warning in post-build.sh

Arnout Vandecappelle arnout at rnout.be
Wed Oct 15 20:13:17 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=0c2a0a44f00e2ab9b41a2bc3bf019e17ef37c471
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Remove entry from .checkpackageignore

Signed-off-by: Scott Fan <fancp2007 at gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout at rnout.be>
---
 .checkpackageignore                        | 1 -
 board/beagleboard/beaglebone/post-build.sh | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.checkpackageignore b/.checkpackageignore
index 4dde533e3a..847e1f1156 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -8,7 +8,6 @@ board/aspeed/common/post-image.sh Shellcheck
 board/asus/tinker/post-build.sh Shellcheck
 board/atmel/flasher.sh Shellcheck
 board/beagleboard/beaglebone-qt5/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch lib_patch.Upstream
-board/beagleboard/beaglebone/post-build.sh Shellcheck
 board/boundarydevices/common/post-build.sh Shellcheck
 board/boundarydevices/common/post-image.sh Shellcheck
 board/broadcom/northstar/post-image.sh Shellcheck
diff --git a/board/beagleboard/beaglebone/post-build.sh b/board/beagleboard/beaglebone/post-build.sh
index b7afd92ffe..dc84d26eca 100755
--- a/board/beagleboard/beaglebone/post-build.sh
+++ b/board/beagleboard/beaglebone/post-build.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
-BOARD_DIR="$(dirname $0)"
+BOARD_DIR="$(dirname "$0")"
 
-cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
+cp "${BOARD_DIR}/uEnv.txt" "${BINARIES_DIR}/uEnv.txt"
 
-install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
+install -m 0644 -D "${BOARD_DIR}/extlinux.conf" "${BINARIES_DIR}/extlinux/extlinux.conf"


More information about the buildroot mailing list