Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/mx/mx_graal_makefile.py Tue Jun 09 07:51:46 2015 +0200 +++ b/mx/mx_graal_makefile.py Tue Jun 09 10:32:54 2015 +0200 @@ -113,7 +113,7 @@ for d in p.srcDirs + generatedSource: src = projectDir + os.path.sep + d - sources.append("$(shell find {} -type f -name *.java 2> /dev/null)".format(src)) + sources.append("$(shell find {} -type f -name '*.java' 2> /dev/null)".format(src)) metaInf = src + os.path.sep + "META-INF" if os.path.exists(metaInf): resources.append(metaInf)