cm: Fix bootanimation sorting

Change-Id: I7d45f6790406db826fbb822fedb4484427b18c31
gugelfrei
Steve Kondik 8 years ago committed by Steve Kondik
parent 4f1743470f
commit c86fb126c6

@ -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

Loading…
Cancel
Save