coverage.sh: Fix warning when running find
find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I0fd82d6f38cf90400cbac4de02aed70ef6496d34
This commit is contained in:
@@ -33,7 +33,7 @@ mkdir -p ${destdir}/java
|
||||
cp -r {java,javatests}/* ${destdir}/java
|
||||
|
||||
mkdir -p ${destdir}/plugins
|
||||
for plugin in `find plugins/ -type d -maxdepth 1`
|
||||
for plugin in `find plugins/ -maxdepth 1 -type d`
|
||||
do
|
||||
mkdir -p ${destdir}/${plugin}/java
|
||||
cp -r plugins/*/{java,javatests}/* ${destdir}/${plugin}/java
|
||||
|
Reference in New Issue
Block a user