Skip to content

Commit

Permalink
Fixed composer errors on ACE. (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored and grasmash committed Dec 5, 2016
1 parent 4d28cae commit 21df33f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phing/tasks/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
</then>
</if>
<exec dir="${repo.root}" command="cat ${blt.config-files.schema-version}" outputProperty="blt.schema-version" checkreturn="true" logoutput="false" level="${blt.exec_level}"/>
<exec dir="${repo.root}" command="composer info acquia/blt | grep versions | awk '{print $4}'" outputProperty="blt.version" logoutput="false" checkreturn="true" level="${blt.exec_level}" />
<!-- Send errors to /dev/null, for environments like ACE without composer. -->
<exec dir="${repo.root}" command="composer info acquia/blt 2> /dev/null | grep versions | awk '{print $4}'" outputProperty="blt.version" logoutput="false" checkreturn="true" level="${blt.exec_level}" />

<!--verbosityTask is used to set the verbosity level of Phing via a property. It is necessary because the -verbose, -debug, -silent, and -quiet command line options are not available as properties and cannot be utilized in task conditionals. -->
<verbosityTask level="${blt.level}"/>
Expand Down

0 comments on commit 21df33f

Please sign in to comment.