[Buildroot] [git commit] board/asus/tinker-s/post-build.sh: add quoting to make shellcheck happy
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Sep 7 14:52:16 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=9630075a6506e48ed6ba090b346346bd43f2a736
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
board/asus/tinker-s/post-build.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/asus/tinker-s/post-build.sh b/board/asus/tinker-s/post-build.sh
index ffbbcdeb58..f938876625 100755
--- a/board/asus/tinker-s/post-build.sh
+++ b/board/asus/tinker-s/post-build.sh
@@ -1,9 +1,9 @@
#!/bin/sh
MKIMAGE=$HOST_DIR/bin/mkimage
-BOARD_DIR="$(dirname $0)"
+BOARD_DIR="$(dirname "$0")"
-$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-tpl.bin $BINARIES_DIR/u-boot-tpl.img
-cat $BINARIES_DIR/u-boot-tpl.img $BINARIES_DIR/u-boot-spl-dtb.bin > $BINARIES_DIR/u-boot-tpl-spl-dtb.img
+$MKIMAGE -n rk3288 -T rksd -d "$BINARIES_DIR"/u-boot-tpl.bin "$BINARIES_DIR"/u-boot-tpl.img
+cat "$BINARIES_DIR"/u-boot-tpl.img "$BINARIES_DIR"/u-boot-spl-dtb.bin > "$BINARIES_DIR"/u-boot-tpl-spl-dtb.img
-install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
+install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf
More information about the buildroot
mailing list