Skip to content

Commit

Permalink
Fix test/Makefile for FreeBSD shell redirection compatibility
Browse files Browse the repository at this point in the history
* FreeBSD shell does not accept `&>` as the redirect operator;
  Explicitly rewrite `&>/dev/null` to `>/dev/null 2>&1`
  as a workaround
  • Loading branch information
jj1bdx committed May 15, 2015
1 parent a294038 commit 30dbfd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ V ?= 0
ifeq ($V,0)
# Show info messages only
t = @
v = V=0 &>/dev/null
v = V=0 >/dev/null 2>&1
i = @echo
else ifeq ($V,1)
# Show test commands
t =
v = V=0 &>/dev/null
v = V=0 >/dev/null 2>&1
i = @echo ==
else ifeq ($V,2)
# Show briefly what erlang.mk is doing
Expand Down

0 comments on commit 30dbfd5

Please sign in to comment.