Codebase list fonts-materialdesignicons-webfont / 4951d8e
Remove BOM from functions.scss Michal Arbet 3 years ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1818 echo $$j ; \
1919 done ; \
2020 done
21
22 # Remove unicode "BOM" character as
23 # it is causing scss compiler to fail.
24 # Reference:
25 # - https://www.compart.com/en/unicode/U+FEFF
26 # - https://www.freecodecamp.org/news/a-quick-tale-about-feff-the-invisible-character-cd25cd4630e7/
27 # - https://unix.stackexchange.com/questions/381230/how-can-i-remove-the-bom-from-a-utf-8-file
28 sed -i -e '1s/^\xEF\xBB\xBF//' $(CURDIR)/debian/fonts-materialdesignicons-webfont/usr/share/fonts-materialdesignicons-webfont/scss/_functions.scss