treewide: replace backticks by $(...) in gen_*_img.sh scripts
[openwrt/openwrt.git] / target / linux / gemini / image / dns313_gen_hdd_img.sh
index 1eb2c7c575992453b9abcce2d9a001205bac80fc..6e899ec840b0704153232288aba135cd1eb99f7b 100755 (executable)
@@ -17,7 +17,7 @@ sect=63
 
 # Create two empty partitions followed by the boot partition with
 # the ./boot/zImage and then the rootfs partition.
-set `ptgen -o $OUTPUT -h $head -s $sect -t 83 -n -p 0 -p 0 -p ${BOOTFSSIZE}M -p ${ROOTFSSIZE}M`
+set $(ptgen -o $OUTPUT -h $head -s $sect -t 83 -n -p 0 -p 0 -p ${BOOTFSSIZE}M -p ${ROOTFSSIZE}M)
 
 BOOTOFFSET="$(($1 / 512))"
 BOOTSIZE="$(($2 / 512))"