From c8a2187d5f6e36a44676e65d46c192baa34606c5 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sat, 4 May 2013 17:59:18 +0530 Subject: eat: get the proper MODVERSION * The version in system/build.prop might be different than what the zip is named on incremental builds. * Use CM_VERSION from the build system instead. Change-Id: If4508921d8fd05219a2f358a2397a13b247065bd Signed-off-by: Chirayu Desai --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index de68db3..af322c3 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -672,7 +672,7 @@ function tapas() function eat() { if [ "$OUT" ] ; then - MODVERSION=`sed -n -e'/ro\.cm\.version/s/.*=//p' $OUT/system/build.prop` + MODVERSION=$(get_build_var CM_VERSION) ZIPFILE=cm-$MODVERSION.zip ZIPPATH=$OUT/$ZIPFILE if [ ! -f $ZIPPATH ] ; then -- cgit v1.1