Skip to content

Commit

Permalink
setting REBAR to the rebar in the current directory works
Browse files Browse the repository at this point in the history
  • Loading branch information
nuex committed Mar 7, 2014
1 parent 9694936 commit 1c5bcba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ endif

REBAR=$(shell which rebar)

ifeq ($(REBAR),)
# If building on travis, use the rebar in the current directory
ifeq ($(TRAVIS),true)
REBAR=$(CURDIR)/rebar
endif

# Unset rebar when building on Travis
ifeq ($(TRAVIS),true)
REBAR=""
ifeq ($(REBAR),)
REBAR=$(CURDIR)/rebar
endif

# =============================================================================
Expand Down

0 comments on commit 1c5bcba

Please sign in to comment.