Mercurial > hg > graal-jvmci-8
comparison mx/mx_graal_makefile.py @ 21802:82d9b136fe5c
Escape find filename pattern, as it would be expanded if there exists a *.java file in the working directory. (JBS:GRAAL-52)
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 09 Jun 2015 10:32:54 +0200 |
parents | 395ac43a8578 |
children | 878786299d2d |
comparison
equal
deleted
inserted
replaced
21801:ea56cec1de34 | 21802:82d9b136fe5c |
---|---|
111 if p not in distDepProjects and p not in annotationProcessorDeps: | 111 if p not in distDepProjects and p not in annotationProcessorDeps: |
112 generatedSource = [path_dist_relative(p.source_gen_dir())] if len(annotationProcessorDeps) > 0 else [] | 112 generatedSource = [path_dist_relative(p.source_gen_dir())] if len(annotationProcessorDeps) > 0 else [] |
113 | 113 |
114 for d in p.srcDirs + generatedSource: | 114 for d in p.srcDirs + generatedSource: |
115 src = projectDir + os.path.sep + d | 115 src = projectDir + os.path.sep + d |
116 sources.append("$(shell find {} -type f -name *.java 2> /dev/null)".format(src)) | 116 sources.append("$(shell find {} -type f -name '*.java' 2> /dev/null)".format(src)) |
117 metaInf = src + os.path.sep + "META-INF" | 117 metaInf = src + os.path.sep + "META-INF" |
118 if os.path.exists(metaInf): | 118 if os.path.exists(metaInf): |
119 resources.append(metaInf) | 119 resources.append(metaInf) |
120 | 120 |
121 | 121 |