diff options
author | Drew <[email protected]> | 2013-12-01 15:08:38 -0500 |
---|---|---|
committer | Drew <[email protected]> | 2013-12-01 15:08:38 -0500 |
commit | ecb1e7d8e375e49046bcdc1dbb9ed7f5f8e363e3 (patch) | |
tree | 7827d6f4bd96637854ec87e3bbf0a849064c8cec | |
parent | 25041ba7eb9aab202235afd3a98e866f66f17c5b (diff) | |
download | erlang.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.
-rw-r--r-- | erlang.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |