Browse Source

Remove a non-portable "echo -n" from a test

Loïc Hoguin 6 years ago
parent
commit
2277830e3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/plugin_relx.mk

+ 1 - 1
test/plugin_relx.mk

@@ -299,7 +299,7 @@ relx-vsn: build clean
 	$t $(MAKE) -C $(APP) -f erlang.mk bootstrap bootstrap-rel $v
 
 	$i "Replace the vsn"
-	$t sed -i.bak s/"\"1\""/"{cmd, \"echo -n 2\"}"/ $(APP)/relx.config
+	$t sed -i.bak s/"\"1\""/"{cmd, \"printf 2\"}"/ $(APP)/relx.config
 
 	$i "Build the release"
 	$t $(MAKE) -C $(APP) $v