nixos ec2/create-amis.sh: shellcheck: $ is not needed in arithmetic

This commit is contained in:
Graham Christensen
2020-10-30 12:08:01 -04:00
parent 7dac8470cf
commit f92a883ddb
+1 -1
View File
@@ -65,7 +65,7 @@ image_logical_bytes=$(read_image_info .logical_bytes)
# 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
aarch64-linux)