We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f255c commit c8fba33Copy full SHA for c8fba33
phing/tasks/properties.xml
@@ -67,7 +67,7 @@
67
<available file="${docroot}/sites"/>
68
<then>
69
<!-- Find directories in ${docroot}/sites/*/ and format into a comma-separated list. Exclude ${docroot}/sites/g. -->
70
- <exec command="find ${docroot}/sites/* -maxdepth 0 -type d | grep -v -e '${docroot}/sites/g$' | sed -e 's%${docroot}/sites/%%g' -e '2,$s%^%,%' | tr -d '\n'"
+ <exec command="find '${docroot}/sites' -depth 1 -type d | grep -v -e '${docroot}/sites/g$' | sed -e 's%${docroot}/sites/%%g' -e '2,$s%^%,%' | tr -d '\n'"
71
outputProperty="multisite.name" logoutput="false" checkreturn="true"/>
72
</then>
73
<else>
0 commit comments