Browse Source

Merge branch 'support-non-GNU-sed-in-tests' of https://github.com/rabbitmq/erlang.mk

Loïc Hoguin 9 years ago
parent
commit
283e2f411c
1 changed files with 3 additions and 1 deletions
  1. 3 1
      test/Makefile

+ 3 - 1
test/Makefile

@@ -770,7 +770,9 @@ core-app-no-makedep: build clean-core-app-no-makedep
 	$t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
 	$t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
 
 
 	$i "Set NO_MAKEDEP ?= 1 in the Makefile"
 	$i "Set NO_MAKEDEP ?= 1 in the Makefile"
-	$t sed -i '2iNO_MAKEDEP ?= 1' $(APP)/Makefile
+	$t sed -i.bak '2i\
+NO_MAKEDEP ?= 1\
+' $(APP)/Makefile
 
 
 	$i "Generate .hrl files"
 	$i "Generate .hrl files"
 	$t mkdir $(APP)/include/
 	$t mkdir $(APP)/include/