cm: Fix bootanimation sorting

Change-Id: I7d45f6790406db826fbb822fedb4484427b18c31
This commit is contained in:
Steve Kondik 2016-11-08 12:40:43 -08:00 committed by Steve Kondik
parent 4f1743470f
commit c86fb126c6

View file

@ -10,8 +10,7 @@ TARGET_BOOTANIMATION_SIZE := $(shell \
fi )
# get a sorted list of the sizes
bootanimation_sizes := $(subst .zip,, $(shell ls vendor/cm/prebuilt/common/bootanimation))
bootanimation_sizes := $(shell echo -e $(subst "$(space)",'\n',"$(bootanimation_sizes)") | sort -rn)
bootanimation_sizes := $(subst .zip,,$(shell ls -1 vendor/cm/prebuilt/common/bootanimation | sort -rn))
# find the appropriate size and set
define check_and_set_bootanimation