aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/archs38/image/gen_axs10x_sdcard_img.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/archs38/image/gen_axs10x_sdcard_img.sh')
-rwxr-xr-xtarget/linux/archs38/image/gen_axs10x_sdcard_img.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/archs38/image/gen_axs10x_sdcard_img.sh b/target/linux/archs38/image/gen_axs10x_sdcard_img.sh
index 9a6f93d0d9..3cbd2caceb 100755
--- a/target/linux/archs38/image/gen_axs10x_sdcard_img.sh
+++ b/target/linux/archs38/image/gen_axs10x_sdcard_img.sh
@@ -22,7 +22,7 @@ ROOTFSSIZE="$5"
head=4
sect=63
-set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
+set $(ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M)
BOOTOFFSET="$(($1 / 512))"
BOOTSIZE="$(($2 / 512))"