aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-11-25 14:44:58 -0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-31 01:24:31 +0100
commitde8e51c06f598f35ad5ad4739e65028462c6540e (patch)
tree9284b0c7e50941779169306a1892fb05cdb06d06 /target/linux
parent454339b533b188d6837ad4d82b70ac629787d392 (diff)
downloadupstream-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>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm2708/image/gen_rpi_sdcard_img.sh4
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