Skip to content

Commit

Permalink
Ensure cp -R path_ends_with_a_dot/.
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Jan 2, 2025
1 parent 97f867f commit 97756f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ authui-dev:
.PHONY: portal
portal:
npm run --silent --prefix ./portal build
cp -R ./portal/dist/ ./resources/portal/static/
cp -R ./portal/dist/. ./resources/portal/static/
# Vite by default will remove the output directory before the build.
# So we need to touch .gitkeep after the build to avoid git changes.
touch ./portal/dist/.gitkeep
Expand Down
2 changes: 1 addition & 1 deletion portal/scripts/npm-postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkdir -p ./src/public/shared-assets/
find ./src/public/shared-assets -name 'fabric-icons-*.woff' -print -exec rm '{}' \;
# When window.FabricConfig.iconBaseUrl is set, it loads the font directly in the directory.
# So we just copy the fonts to outDir.
cp -r ./node_modules/@fluentui/font-icons-mdl2/fonts/. ./src/public/shared-assets/.
cp -R ./node_modules/@fluentui/font-icons-mdl2/fonts/. ./src/public/shared-assets/.

# When window.FabricConfig.fontBaseUrl is set, it loads the font with a certain structure.
# The original URL is https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-bold.woff2
Expand Down

0 comments on commit 97756f3

Please sign in to comment.