diff options
author | Loïc Hoguin <[email protected]> | 2015-06-15 17:33:07 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-06-15 17:33:07 +0200 |
commit | 761be708a519dc7a3d6f9ebda7bcfb8b085b2b8d (patch) | |
tree | 5e2a664eee3c59e9e6a824fc72dcaeb5bec90577 /core | |
parent | 687990c897b12b2c83e4d9bf81002147c2d0744c (diff) | |
download | erlang.mk-761be708a519dc7a3d6f9ebda7bcfb8b085b2b8d.tar.gz erlang.mk-761be708a519dc7a3d6f9ebda7bcfb8b085b2b8d.tar.bz2 erlang.mk-761be708a519dc7a3d6f9ebda7bcfb8b085b2b8d.zip |
Add corresponding space in the replace regex
Fixes a previous incomplete PR merged by mistake.
Diffstat (limited to 'core')
-rw-r--r-- | core/erlc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/erlc.mk b/core/erlc.mk index 1aeab6c..035b375 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -83,7 +83,7 @@ else exit 1; \ fi $(appsrc_verbose) cat src/$(PROJECT).app.src \ - | sed "s/{modules,[[:space:]]*\[\]}/{modules, \[$(MODULES)\]}/" \ + | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \[$(MODULES)\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"$(GITDESCRIBE)\"}/" \ > ebin/$(PROJECT).app endif |