Permalink
Browse files

pass _ instead of empty string for make_app argument http://github.co…

  • Loading branch information...
etrepum committed Oct 12, 2010
1 parent 47af653 commit ee1f169cd0f1b141b1f67054649b4f98d4aa262f
Showing with 2 additions and 2 deletions.
  1. +1 −1 support/include.mk
  2. +1 −1 support/make_app.escript
View
@@ -31,7 +31,7 @@ EBIN_FILES = $(ERL_OBJECTS) $(APP_FILES:%.app.src=../ebin/%.app)
MODULES = $(ERL_SOURCES:%.erl=%)
../ebin/%.app: %.app.src
- ../support/make_app.escript $< $@ "" "$(MODULES)"
+ ../support/make_app.escript $< $@ _ "$(MODULES)"
$(EBIN_DIR)/%.$(EMULATOR): %.erl
View
@@ -63,7 +63,7 @@ write_term(T, L0, TermL, Fd) ->
end,
io:fwrite(Fd, "~p.~n", [T]).
-vsn(Vsn, Attrs) when Vsn =:= '' orelse Vsn =:= "" ->
+vsn(Vsn, Attrs) when Vsn =:= '' orelse Vsn =:= "" orelse Vsn =:= "_" ->
case lists:keyfind(vsn, 1, Attrs) of
false ->
{vsn, "0.00"};

0 comments on commit ee1f169

Please sign in to comment.