Skip to content

Commit

Permalink
nixos ec2/create-amis.sh: shellcheck: $ is not needed in arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Oct 30, 2020
1 parent 7dac847 commit f92a883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/maintainers/scripts/ec2/create-amis.sh
Expand Up @@ -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)
Expand Down

0 comments on commit f92a883

Please sign in to comment.