diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-25 00:51:27 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-09-29 00:46:13 +0200 |
commit | c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec (patch) | |
tree | ff926aa63e6bd2f0dafe13ad0d4ec971ee057694 /target/linux/rb532 | |
parent | 0bbfc3dff719e6f6691bd7cc5db06ece52ca131b (diff) | |
download | upstream-c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec.tar.gz upstream-c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec.tar.bz2 upstream-c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec.zip |
treewide: replace backticks by $(...) in gen_*_img.sh scripts
This replaces deprecated backticks by more versatile $(...) syntax.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[decapitalized patch subject at submitter's request]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/rb532')
-rwxr-xr-x | target/linux/rb532/image/gen_image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rb532/image/gen_image.sh b/target/linux/rb532/image/gen_image.sh index a2d6f4012a..a9d48d86ca 100755 --- a/target/linux/rb532/image/gen_image.sh +++ b/target/linux/rb532/image/gen_image.sh @@ -9,7 +9,7 @@ ALIGN="$6" rm -f "$OUTPUT" # create partition table -set `ptgen -o "$OUTPUT" -h 16 -s 32 -l ${ALIGN} -t 0x27 -p ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m` +set $(ptgen -o "$OUTPUT" -h 16 -s 32 -l ${ALIGN} -t 0x27 -p ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m) KERNELOFFSET="$(($1 / 512))" ROOTFSOFFSET="$(($3 / 512))" |