diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-11-25 14:44:58 -0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-31 01:24:31 +0100 |
commit | de8e51c06f598f35ad5ad4739e65028462c6540e (patch) | |
tree | 9284b0c7e50941779169306a1892fb05cdb06d06 | |
parent | 454339b533b188d6837ad4d82b70ac629787d392 (diff) | |
download | upstream-de8e51c06f598f35ad5ad4739e65028462c6540e.tar.gz upstream-de8e51c06f598f35ad5ad4739e65028462c6540e.tar.bz2 upstream-de8e51c06f598f35ad5ad4739e65028462c6540e.zip |
brcm2708: gen_rpi_sdcard_img.sh: use /bin/sh
Nothing here needs bash.
While at it, remove trailing whitespace.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
[add prefix to commit title, add whitespace comment]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rwxr-xr-x | target/linux/brcm2708/image/gen_rpi_sdcard_img.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |