Browse Source

Fix escaping of backslash

Was working fine for me, not on CI.
Loïc Hoguin 9 years ago
parent
commit
0f9554a2fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/Makefile

+ 1 - 1
test/Makefile

@@ -313,7 +313,7 @@ core-app-generate-erl-include: build clean-core-app-generate-erl-include
 	$i "Append rules to the Makefile to generate a .erl module"
 	$i "Append rules to the Makefile to generate a .erl module"
 	$t echo "\$$(PROJECT).d:: src/generated.erl" >> $(APP)/Makefile
 	$t echo "\$$(PROJECT).d:: src/generated.erl" >> $(APP)/Makefile
 	$t echo "src/generated.erl:: script.sh;" \
 	$t echo "src/generated.erl:: script.sh;" \
-		"printf \"%s\n\"" \
+		"printf \"%s\\n\"" \
 			"\"-module(generated).\"" \
 			"\"-module(generated).\"" \
 			"\"-include(\\\"included.hrl\\\").\" > \$$@" >> $(APP)/Makefile
 			"\"-include(\\\"included.hrl\\\").\" > \$$@" >> $(APP)/Makefile