aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorDrew <[email protected]>2013-12-01 15:08:38 -0500
committerDrew <[email protected]>2013-12-01 15:08:38 -0500
commitecb1e7d8e375e49046bcdc1dbb9ed7f5f8e363e3 (patch)
tree7827d6f4bd96637854ec87e3bbf0a849064c8cec /erlang.mk
parent25041ba7eb9aab202235afd3a98e866f66f17c5b (diff)
downloaderlang.mk-ecb1e7d8e375e49046bcdc1dbb9ed7f5f8e363e3.tar.gz
erlang.mk-ecb1e7d8e375e49046bcdc1dbb9ed7f5f8e363e3.tar.bz2
erlang.mk-ecb1e7d8e375e49046bcdc1dbb9ed7f5f8e363e3.zip
Changed \s pattern in sed regex pattern to [[:space:]]. This should make the sed pattern portable across GNU and BSD implementations.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 9a658bc..4008926 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -106,7 +106,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