commit | 77666693a18a788c51b3af94e0f30fe48aff48ee | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri May 05 13:28:50 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri May 05 14:01:06 2017 -0700 |
tree | 9ace883aad27fd9fe16162308afbb215515b0bd3 | |
parent | 429b7a378b408d3919892071b2204ef42af1ed32 [diff] |
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