Skip to content

Commit db4037c

Browse files
authored
fix: systax error on float number
1 parent d39bb4f commit db4037c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make/makeimg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _________________
3434
while true; do
3535
$bin/mkuserimg_mke2fs.sh "./out/system/" "./out/system.img" ext4 "/system" $ssize -j "0" -T "1230768000" -C "./out/config/system_fs_config" -L "system" "./out/config/system_file_contexts"
3636
if [ $? -ne 0 ]; then
37-
add=$(echo "scale=0; $add * 1.1" | bc)
37+
add=$((echo "scale=0; $add * 1.1" | bc))
3838
ssize=$(($size+$add))
3939
else
4040
break

0 commit comments

Comments
 (0)