Просмотр исходного кода

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
Kenji Rikitake 10 лет назад
Родитель
Сommit
30dbfd51a7
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      test/Makefile

+ 2 - 2
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