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

Commit 71aaa025 authored by Ying Wang's avatar Ying Wang Committed by android-build-merger
Browse files

Merge "make USER limited to 6 characters when generating BUILD_NUMBER"

am: e9430e23

* commit 'e9430e23':
  make USER limited to 6 characters when generating BUILD_NUMBER
parents 2635974e e9430e23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,5 +146,5 @@ ifeq "" "$(BUILD_NUMBER)"
  # If no BUILD_NUMBER is set, create a useful "I am an engineering build
  # from this date/time" value.  Make it start with a non-digit so that
  # anyone trying to parse it as an integer will probably get "0".
  BUILD_NUMBER := eng.$(USER).$(shell $(DATE) +%Y%m%d.%H%M%S)
  BUILD_NUMBER := eng.$(shell echo $${USER:0:6}).$(shell $(DATE) +%Y%m%d.%H%M%S)
endif