aboutsummaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2019-01-22 14:50:52 (GMT)
committerLuca Stefani <luca.stefani.ge1@gmail.com>2019-01-22 15:02:42 (GMT)
commit7fd7d37ad98b2e553c0dd739460644e45c167773 (patch)
tree8287a79a476456d8be1063e356c2f8692a5950ac /envsetup.sh
parent95373d11337a8b908bcee4d01c14297b454df058 (diff)
downloadandroid_build-7fd7d37ad98b2e553c0dd739460644e45c167773.zip
android_build-7fd7d37ad98b2e553c0dd739460644e45c167773.tar.gz
android_build-7fd7d37ad98b2e553c0dd739460644e45c167773.tar.bz2
Don't export BUILD_NUMBER in envsetuprefs/changes/60/239760/3
* The value is meant to be set only before running an /official/ build * This allows us to execute consecutive make commands without running kati for every invocation Change-Id: Ifa94b839f30c7260009c8a3c91c202b50e28022e
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh
index d63a506..910c3ce 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -139,7 +139,6 @@ function check_product()
fi
if (echo -n $1 | grep -q -e "^lineage_") ; then
LINEAGE_BUILD=$(echo -n $1 | sed -e 's/^lineage_//g')
- export BUILD_NUMBER=$( (date +%s%N ; echo $LINEAGE_BUILD; hostname) | openssl sha1 | sed -e 's/.*=//g; s/ //g' | cut -c1-10 )
else
LINEAGE_BUILD=
fi