Browse Source

Remove spaces after commas globally

When preparing erlc_opts, remove all comma/whitespace pairs instead of
just the first
Nick Gates 9 years ago
parent
commit
9797223d80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/compat.mk

+ 1 - 1
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),\