Kaynağa Gözat

board/beaglebone: fix shellcheck warning in post-build.sh

Remove entry from .checkpackageignore

Signed-off-by: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
Scott Fan 3 ay önce
ebeveyn
işleme
0c2a0a44f0

+ 0 - 1
.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

+ 3 - 3
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"