Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b78faab7 authored by Koushik Dutta's avatar Koushik Dutta
Browse files

allow build utc override

parent 9a52ddd8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -10,7 +10,10 @@ echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
echo "ro.build.version.release=$PLATFORM_VERSION"
echo "ro.build.date=`date`"
echo "ro.build.date.utc=`date +%s`"
if [ -z "$BUILD_UTC_DATE" ] ; then
    BUILD_UTC_DATE=`date +%s`
fi
echo "ro.build.date.utc=$BUILD_UTC_DATE"
echo "ro.build.type=$TARGET_BUILD_TYPE"
echo "ro.build.user=$USER"
echo "ro.build.host=`hostname`"