diff --git a/make_style.sh b/make_style.sh index f926575efc..f9adb385e8 100755 --- a/make_style.sh +++ b/make_style.sh @@ -14,7 +14,7 @@ if ! [ -x "$(command -v autoprefixer)" ]; then exit 1 fi -cd "$(dirname "$0")" || exit +cd "/site" || exit 1 build_style() { echo "Creating $1 style..." @@ -23,5 +23,6 @@ build_style() { postcss sass_processed/style.css sass_processed/martor-description.css sass_processed/select2-dmoj.css --verbose --use autoprefixer -d $2 } + build_style 'default' 'resources' build_style 'dark' 'resources/dark'