Commit a92c0171 authored by Paul Slaughter's avatar Paul Slaughter

Fix startup_css_changed to not check `ee` if FOSS_ONLY

- This was causing issues when we moved the `as-if-foss`
  check to use the rules that actually `rm -rf ee/`
- See https://gitlab.com/gitlab-org/gitlab/-/issues/341245
parent 7ea3c2ce
......@@ -7,7 +7,13 @@ echo ""
echo "https://gitlab.com/gitlab-org/gitlab/-/issues/331812"
echo "-----------------------------------------------------------"
startup_glob="*stylesheets/startup*"
startup_glob="app/assets/stylesheets/startup*"
if ! [ "$FOSS_ONLY" ]
then
startup_glob="*${startup_glob}"
fi
echo "Staging changes to '${startup_glob}' so we can check for untracked files..."
git add "${startup_glob}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment