From 420aaa92fa7387c6c3f9404b9fc6cb25565c7f1d Mon Sep 17 00:00:00 2001 From: Sam Detweiler Date: Sun, 27 Oct 2019 09:14:55 -0500 Subject: [PATCH] fix for MacOS --- untrack-css.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/untrack-css.sh b/untrack-css.sh index 580052e6..d5969b84 100755 --- a/untrack-css.sh +++ b/untrack-css.sh @@ -1,6 +1,6 @@ # Long history here # https://github.com/MichMich/MagicMirror/pull/1540 -STATUS_CUSTOM_CSS=$(git ls-files -v css/custom.css|cut -f 1 --delimiter=" ") +STATUS_CUSTOM_CSS=$(git ls-files -v css/custom.css| awk '{print $1}') if [ "$STATUS_CUSTOM_CSS" = "H" ]; then echo "We'll remove from the repository the css/custom.css"