Fix wrong bootanimation.zip from mkdir .../part{0..2}
For some reason the mkdir command: mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part{0..2} creates a directory part{0..2} instead of three separate directories. Non-fatal build errors and a 386 byte bootanimation.zip file result. This explicitly creates each directory. Change-Id: Ia6ae0e4f64521992de8cc34a376af3eaac5c8819
This commit is contained in:
parent
6179d9494f
commit
ce5405d1f7
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ fi
|
|||
|
||||
RESOLUTION=""$IMAGESIZE"x"$IMAGESIZE""
|
||||
|
||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part{0..2}
|
||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part0
|
||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part1
|
||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part2
|
||||
tar xfp "vendor/cm/bootanimation/bootanimation.tar" --to-command="convert - -resize '$RESOLUTION' \"png8:$OUT/bootanimation/\$TAR_FILENAME\""
|
||||
|
||||
# Create desc.txt
|
||||
|
|
Loading…
Reference in a new issue