Skip to content
Snippets Groups Projects
Commit 8dd0f1a5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Handle grep finds no matches." into main am: dee600b9 am: 1a4a3a4d...

Merge "Handle grep finds no matches." into main am: dee600b9 am: 1a4a3a4d am: c5a3a307 am: d38cdb4a am: 57a10b39

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2745856



Change-Id: I6adf88a9022910376bfbb205363879b86f5dd5a5
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 49a91155 57a10b39
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
......@@ -125,6 +124,6 @@ java_genrule {
srcs: [
"java-res/vendor.mime.types",
],
// strip comments normalize whitepace drop empty lines prepend ? to fields that are missing it
cmd: "awk '{gsub(/#.*$$/,\"\"); $$1=$$1; print;}' $(in) | grep ' ' | awk '{for(i=1;i<=NF;i++) { sub(/^\\??/, \"?\", $$i); }; print}' > $(out)",
// strip comments normalize whitepace drop empty lines prepend ? to fields that are missing it
cmd: "awk '{gsub(/#.*$$/,\"\"); $$1=$$1; print;}' $(in) | (grep ' ' || echo -n '') | awk '{for(i=1;i<=NF;i++) { sub(/^\\??/, \"?\", $$i); }; print}' > $(out)",
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment