From 69070f418ba2f4e2541989c55f1c60f3369ce42e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20G=C3=B6m=C3=B6ri?= Date: Fri, 13 Oct 2017 09:44:48 +0200 Subject: [PATCH] Allow special chars in app name If the app name atom contains special characters ~s would just write it to the generated .app file while ~p will properly quote it if necessary. --- src/rebar_raw_resource.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_raw_resource.erl b/src/rebar_raw_resource.erl index 8af36e3..cb73c33 100644 --- a/src/rebar_raw_resource.erl +++ b/src/rebar_raw_resource.erl @@ -463,7 +463,7 @@ ensure_app(Path, Mod, Name, Opts, Result) -> "%%\n" % this is the minimum set of elements required to make rebar % happy when there are no sources for it to compile - "{application, ~s,\n" + "{application, ~p,\n" "[\n" " {description, \"~s\"},\n" " {vsn, \"~s\"},\n"