msantos / procket

Erlang interface to low level socket operations
http://blog.listincomprehension.com/search/label/procket
BSD 3-Clause "New" or "Revised" License
283 stars 80 forks source link

Fix Makefile $(REBAR) variable handling on Illumos #19

Closed jaredmorrow closed 9 years ago

jaredmorrow commented 9 years ago

On solaris flavors, which has sometimes poor behavior of not returning proper exit codes or printing errors to STDOUT rather than STDERR. All of this is to say, the makefile didn't behave correctly on Solaris. $(REBAR) ended up being set to "rebar not found" which made the compile target less than happy.

I added a print-* target to test this easier. Simply make print-VAR to see the value. So make print-REBAR will show you the value of $REBAR.

msantos commented 9 years ago

Thank you! Been meaning to fix this for a long time!

jaredmorrow commented 9 years ago

No problem, working through some things on SmartOS and figured one day someone else might hit this. Thanks for merging so quickly.