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
5517e01a9e
commit
f5897a1be6
@ -19,7 +19,9 @@ fi
|
|||||||
|
|
||||||
RESOLUTION=""$IMAGESIZE"x"$IMAGESIZE""
|
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\""
|
tar xfp "vendor/cm/bootanimation/bootanimation.tar" --to-command="convert - -resize '$RESOLUTION' \"png8:$OUT/bootanimation/\$TAR_FILENAME\""
|
||||||
|
|
||||||
# Create desc.txt
|
# Create desc.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user