Remove BOM from functions.scss
Michal Arbet
3 years ago
18 | 18 | echo $$j ; \ |
19 | 19 | done ; \ |
20 | 20 | 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 |