OSDN Git Service

Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version.
authorElliott Hughes <enh@google.com>
Fri, 5 May 2017 20:28:50 +0000 (13:28 -0700)
committerElliott Hughes <enh@google.com>
Fri, 5 May 2017 21:01:06 +0000 (14:01 -0700)
commit77666693a18a788c51b3af94e0f30fe48aff48ee
tree9ace883aad27fd9fe16162308afbb215515b0bd3
parent429b7a378b408d3919892071b2204ef42af1ed32
Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version.

Also remove the SHA, which we haven't needed yet and isn't particularly
easy to turn back into source anyway.

Also switch to sed rather than awk, because macOS awk is lame:

  awk: syntax error at source line 1
   context is
          match($0, >>>  /TOYBOX_VERSION.*"(.*)"/, <<<
  awk: bailing out at source line 1

Bug: http://b/27534935 (for the macOS awk problem)
Test: toybox --version
Change-Id: If2d86b1ef098f1710843e32f7345ae5cf251fabb
Android.mk