Skip to content

Commit

Permalink
more specifically normalise permissions after building
Browse files Browse the repository at this point in the history
(also avoids trouble with dangling symlinks by only
selecting directories or regular files)
  • Loading branch information
mirabilos committed Jan 11, 2025
1 parent 2f7404d commit 2b3e6dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ rm "${torm[@]}"
cd ..
pax -rw LICENSE.txt dist site/
rm -f site/dist/tests.js
find site -print0 | xargs -0r chmod a+rX --
find site -type d -print0 | xargs -0r chmod 0755 --
find site -type f -print0 | xargs -0r chmod 0644 --

0 comments on commit 2b3e6dd

Please sign in to comment.