[OpenWrt-Devel,13/17] gen_rpi_sdcard_img.sh: Use /bin/sh
diff mbox series

Message ID 20191125224502.266177-13-rosenp@gmail.com
State Accepted
Headers show
Series
  • [OpenWrt-Devel,01/17] gen_mvebu_sdcard_img.sh: Replace let with $(())
Related show

Commit Message

Rosen Penev Nov. 25, 2019, 10:44 p.m. UTC
Nothing here needs bash.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 target/linux/brcm2708/image/gen_rpi_sdcard_img.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh b/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
index 60b66c3724..5e8fb2769c 100755
--- a/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
+++ b/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
@@ -1,6 +1,6 @@ 
-#!/usr/bin/env bash
+#!/bin/sh
 
-set -x 
+set -x
 [ $# -eq 5 ] || {
     echo "SYNTAX: $0 <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>"
     exit 1