Skip to content

Commit

Permalink
Try to fix some permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Feb 13, 2024
1 parent 00da155 commit 41c950f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "PlutoPDF"
uuid = "6eb38059-8c05-41f7-8871-5e7e2697ace6"
license = "MIT"
authors = ["Fons van der Plas", "Connor Burns"]
version = "1.0.0"
version = "1.0.1"

[deps]
DefaultApplication = "3f0dd361-4fe0-5fc6-8523-80b14ec94d85"
Expand Down
7 changes: 6 additions & 1 deletion src/setup_build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function build_node(dir)

if dir !== dirname(node_root_files[1])
for f in node_root_files
cp(f, joinpath(dir, basename(f)); force=true)
readwrite(f, joinpath(dir, basename(f)))
end
end

Expand All @@ -36,3 +36,8 @@ function build_node(dir)
dir
end

"Like `cp` except we create the file manually (to fix permission issues). (It's not plagiarism if you use this function to copy homework.)"
function readwrite(from::AbstractString, to::AbstractString)
write(to, read(from))
end

2 comments on commit 41c950f

@fonsp
Copy link
Member Author

@fonsp fonsp commented on 41c950f Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/100767

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.1 -m "<description of version>" 41c950ff3fe096edb5fbbb09e44d08a19cc00ac0
git push origin v1.0.1

Please sign in to comment.