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

This commit is contained in:
Graham Christensen 2020-10-29 14:02:11 -04:00
parent 7dac8470cf
commit f92a883ddb
No known key found for this signature in database
GPG key ID: FE918C3A98C1030F

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)