commit | 488154b9cc4de5b2dfff7aeddca1de707a6c8d41 | [log] [tgz] |
---|---|---|
author | Unknown <electrikjesus@gmail.com> | Tue Feb 27 19:02:18 2018 -0500 |
committer | Jackeagle <jackeagle102@gmail.com> | Sat Jul 20 05:55:25 2019 -0400 |
tree | 30013f6be5f914ac765ab9b3d7d788fed0ef38fb | |
parent | 7ef2a4dd9877ffd6ba898a84615335cf21ae142f [diff] |
Try to fix bootani aspect ratio for square animations. Change-Id: I9772673cbe5fe95109eeb367e9234be418becdda
diff --git a/bootanimation/generate-bootanimation.sh b/bootanimation/generate-bootanimation.sh index 1c3937f..43c7900 100644 --- a/bootanimation/generate-bootanimation.sh +++ b/bootanimation/generate-bootanimation.sh
@@ -1,7 +1,7 @@ #!/bin/bash WIDTH="$1" -HEIGHT="$2" +HEIGHT="$(echo "$WIDTH" | bc)" BOOTANIOUT="$ANDROID_PRODUCT_OUT/obj/BOOTANIMATION" if [ "$HEIGHT" -lt "$WIDTH" ]; then