From 1c472c28317e3770149694fc4c0530aca8b154c5 Mon Sep 17 00:00:00 2001 From: Guanzhong Chen Date: Sat, 1 Aug 2020 18:38:13 -0400 Subject: [PATCH] Fix style.css not updating when it exists under resources/ (#1491) --- make_style.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make_style.sh b/make_style.sh index 5cdd74f789..bd5520b94d 100755 --- a/make_style.sh +++ b/make_style.sh @@ -17,8 +17,8 @@ fi FILES=(sass_processed/style.css sass_processed/content-description.css sass_processed/table.css sass_processed/ranks.css sass_processed/martor-description.css) -cd `dirname $0` -sass --update resources:sass_processed +cd "$(dirname "$0")" || exit +sass resources:sass_processed echo postcss "${FILES[@]}" --verbose --use autoprefixer -d resources