OSDN Git Service

Fix wrong usage of * in find command
authorPo Hu <po.hu@mediatek.com>
Tue, 25 Apr 2017 00:53:24 +0000 (08:53 +0800)
committerHung-ying Tyan <tyanh@google.com>
Mon, 8 May 2017 03:04:32 +0000 (11:04 +0800)
commitcbc89e80bf941f75717a145e3b83c35da7bda58a
treefe10f8030aa01d3d19559bd0d37b5d11b4331d55
parentcdc4f9bed9996a9ded39301b6b4a84e6b46220b2
Fix wrong usage of * in find command

When KATI_FIND_EMULATOR is disabled, the following warning message
will appear:
find: paths must precede expression: build_id.h
Usage: find [-H] [-L] [-P] [-Olevel]
[-D help|tree|search|stat|rates|opt|exec] [path...] [expression]

Because the * in 'find some/path -name *' command is wrongly
expanded by shell. We should change * to "*".

Change-Id: Ib051f47bb9335930944b8f63fd0fb54fbb867f31
Merged-In: Ib051f47bb9335930944b8f63fd0fb54fbb867f31
Test: make KATI_EMULATE_FIND=false
(cherry picked from 4432b6f3f41d3169c4759799722cf226adf5b579)
Bug: 37553659
simpleperf/Android.mk