Skip to content

Commit

Permalink
Set stdlib sources as read-only during installation
Browse files Browse the repository at this point in the history
We previously did this for `base` and `test` in #55524, may as well do it for `stdlib` as well.
  • Loading branch information
staticfloat authored Aug 20, 2024
1 parent 9650510 commit 238d384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ endif

# Set .jl sources as read-only to match package directories
find $(DESTDIR)$(datarootdir)/julia/base -type f -name \*.jl -exec chmod 0444 '{}' \;
find $(DESTDIR)$(datarootdir)/julia/stdlib -type f -name \*.jl -exec chmod 0444 '{}' \;
find $(DESTDIR)$(datarootdir)/julia/test -type f -name \*.jl -exec chmod 0444 '{}' \;

# Copy documentation
Expand Down

0 comments on commit 238d384

Please sign in to comment.