nixos ec2/create-amis.sh: shellcheck: $ is not needed in arithmetic
This commit is contained in:
parent
7dac8470cf
commit
f92a883ddb
@ -65,7 +65,7 @@ image_logical_bytes=$(read_image_info .logical_bytes)
|
|||||||
|
|
||||||
# Derived attributes
|
# Derived attributes
|
||||||
|
|
||||||
image_logical_gigabytes=$((($image_logical_bytes-1)/1024/1024/1024+1)) # Round to the next GB
|
image_logical_gigabytes=$(((image_logical_bytes-1)/1024/1024/1024+1)) # Round to the next GB
|
||||||
|
|
||||||
case "$image_system" in
|
case "$image_system" in
|
||||||
aarch64-linux)
|
aarch64-linux)
|
||||||
|
Loading…
Reference in New Issue
Block a user