aboutsummaryrefslogtreecommitdiffstats
path: root/core/compat.mk
diff options
context:
space:
mode:
authorNick Gates <[email protected]>2016-01-06 20:21:01 +0000
committerNick Gates <[email protected]>2016-01-06 20:21:01 +0000
commit9797223d8070362ad4fe5d3c1bd9990301ab0665 (patch)
treec4e2ccc561a8906821dca40d26a006671473bc0d /core/compat.mk
parent1e6fc7b9e405c2c9e05868db8534dadbb80437f7 (diff)
downloaderlang.mk-9797223d8070362ad4fe5d3c1bd9990301ab0665.tar.gz
erlang.mk-9797223d8070362ad4fe5d3c1bd9990301ab0665.tar.bz2
erlang.mk-9797223d8070362ad4fe5d3c1bd9990301ab0665.zip
Remove spaces after commas globally
When preparing erlc_opts, remove all comma/whitespace pairs instead of just the first
Diffstat (limited to 'core/compat.mk')
-rw-r--r--core/compat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/compat.mk b/core/compat.mk
index f936768..89607ab 100644
--- a/core/compat.mk
+++ b/core/compat.mk
@@ -6,7 +6,7 @@
# We strip out -Werror because we don't want to fail due to
# warnings when used as a dependency.
-compat_prepare_erlc_opts = $(shell echo "$1" | sed 's/, */,/')
+compat_prepare_erlc_opts = $(shell echo "$1" | sed 's/, */,/g')
define compat_convert_erlc_opts
$(if $(filter-out -Werror,$1),\