Browse Source

Merge branch 'master' of git://github.com/NineFX/erlang.mk

Loïc Hoguin 11 years ago
parent
commit
984a6c2768
1 changed files with 1 additions and 1 deletions
  1. 1 1
      erlang.mk

+ 1 - 1
erlang.mk

@@ -107,7 +107,7 @@ app: ebin/$(PROJECT).app
 	$(eval MODULES := $(shell find ebin -type f -name \*.beam \
 		| sed 's/ebin\///;s/\.beam/,/' | sed '$$s/.$$//'))
 	$(appsrc_verbose) cat src/$(PROJECT).app.src \
-		| sed 's/{modules,\s*\[\]}/{modules, \[$(MODULES)\]}/' \
+		| sed 's/{modules,[[:space:]]*\[\]}/{modules, \[$(MODULES)\]}/' \
 		> ebin/$(PROJECT).app
 
 define compile_erl