diff options
author | Graham Christensen <graham@grahamc.com> | 2020-10-29 14:02:11 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2020-10-30 12:08:01 -0400 |
commit | f92a883ddb2e26e34244cf764fbfa63a4e580afa (patch) | |
tree | 9be6d6c48f4498973415b0c91cb976411b722ab7 /nixos/maintainers | |
parent | 7dac8470cf69d10bcea3a61b1919cebf12a94fe6 (diff) |
nixos ec2/create-amis.sh: shellcheck: $ is not needed in arithmetic
Diffstat (limited to 'nixos/maintainers')
-rwxr-xr-x | nixos/maintainers/scripts/ec2/create-amis.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/maintainers/scripts/ec2/create-amis.sh b/nixos/maintainers/scripts/ec2/create-amis.sh index 16aa5ce35f45..6cac4bb58d51 100755 --- a/nixos/maintainers/scripts/ec2/create-amis.sh +++ b/nixos/maintainers/scripts/ec2/create-amis.sh @@ -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) |