Skip to content

Commit

Permalink
Fixed Homebrew path detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Toberumono committed Oct 13, 2015
1 parent d2e477f commit b1bd736
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@
</target>

<target if="${use.homebrew}" name="find.brew">
<exec unless:set="brew.path" executable="which" outputproperty="brew.path">
<arg value="brew" />
<exec unless:set="brew.path" searchpath="true" executable="env" outputproperty="brew.path">
<arg value="bash" />
<arg value="-l" />
<arg value="-c" />
<arg value="which brew" />
</exec>
<exec unless:set="brew.prefix" executable="${brew.path}" outputproperty="brew.prefix">
<arg value="--prefix" />
Expand Down

0 comments on commit b1bd736

Please sign in to comment.