From 3da4f7947097215c47f7125c3413b264ebcd47ea Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Mon, 13 Apr 2015 10:52:58 +0200 Subject: [PATCH] Improved bash fu. --- src/styles/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/styles/Makefile.am b/src/styles/Makefile.am index 469271d9..9e0b73c5 100644 --- a/src/styles/Makefile.am +++ b/src/styles/Makefile.am @@ -46,6 +46,4 @@ styleshint: styleslint: @if [ "$(SCSS_LINT)" = "" ]; then echo "Command 'scss-lint' not found, required when linting styles"; exit 1; fi - @echo "Please be patient, this takes a while..." - @files=`find . -not -path "*/libs/*" -name "*.scss"|sort -u`; \ - for f in $$files; do $(SCSS_LINT) -c scss.yml $$f; done + $(FIND) ./ -not -path "./libs/*" -name "*.scss" -print0 | xargs -0 -n1 $(SCSS_LINT) -c scss.yml