aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKenji Rikitake <[email protected]>2015-05-15 18:05:51 +0900
committerKenji Rikitake <[email protected]>2015-05-15 18:05:51 +0900
commit30dbfd51a72177c1e763392d462b17a43cb6cab6 (patch)
tree1e2ef01655738f116f5a09aa308347df09fcba3d /test
parenta294038c83a631813af3708be3b986ef6a6e3468 (diff)
downloaderlang.mk-30dbfd51a72177c1e763392d462b17a43cb6cab6.tar.gz
erlang.mk-30dbfd51a72177c1e763392d462b17a43cb6cab6.tar.bz2
erlang.mk-30dbfd51a72177c1e763392d462b17a43cb6cab6.zip
Fix test/Makefile for FreeBSD shell redirection compatibility
* FreeBSD shell does not accept `&>` as the redirect operator; Explicitly rewrite `&>/dev/null` to `>/dev/null 2>&1` as a workaround
Diffstat (limited to 'test')
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 1b60371..a77b307 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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