Просмотр исходного кода

Remove spaces after commas globally

When preparing erlc_opts, remove all comma/whitespace pairs instead of
just the first
Nick Gates 9 лет назад
Родитель
Сommit
9797223d80
1 измененных файлов с 1 добавлено и 1 удалено
  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),\