diff options
author | Po Hu <po.hu@mediatek.com> | 2017-04-25 08:53:24 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2017-05-08 11:04:32 +0800 |
commit | cbc89e80bf941f75717a145e3b83c35da7bda58a (patch) | |
tree | fe10f8030aa01d3d19559bd0d37b5d11b4331d55 | |
parent | cdc4f9bed9996a9ded39301b6b4a84e6b46220b2 (diff) | |
download | extras-cbc89e80bf941f75717a145e3b83c35da7bda58a.tar.gz |
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
-rw-r--r-- | simpleperf/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/Android.mk b/simpleperf/Android.mk index f47e08be..af4e7816 100644 --- a/simpleperf/Android.mk +++ b/simpleperf/Android.mk @@ -321,7 +321,7 @@ LOCAL_SRC_FILES := \ $(simpleperf_unit_test_src_files_linux) \ LOCAL_STATIC_LIBRARIES += libsimpleperf $(simpleperf_static_libraries_target) -LOCAL_TEST_DATA := $(call find-test-data-in-subdirs,$(LOCAL_PATH),*,testdata) +LOCAL_TEST_DATA := $(call find-test-data-in-subdirs,$(LOCAL_PATH),"*",testdata) LOCAL_MULTILIB := both LOCAL_FORCE_STATIC_EXECUTABLE := true include $(LLVM_DEVICE_BUILD_MK) |