Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jekyll-hardlinks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sutty
jekyll
jekyll-hardlinks
Commits
142078ca
Commit
142078ca
authored
2 years ago
by
fauno
Browse files
Options
Downloads
Patches
Plain Diff
warning
parent
7f5a677e
Branches
antifascista
No related tags found
1 merge request
!1
fallback to copy if files are in different devices
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/jekyll/static_file.rb
+1
-0
1 addition, 0 deletions
lib/jekyll/static_file.rb
with
1 addition
and
0 deletions
lib/jekyll/static_file.rb
+
1
−
0
View file @
142078ca
...
...
@@ -22,6 +22,7 @@ module Jekyll
begin
FileUtils
.
ln
(
path
,
dest_path
)
rescue
Errno
::
EXDEV
Jekyll
.
logger
.
warn
'Jekyll::StaticFile'
,
"Cross-device link found, copying to
#{
dest_path
}
instead"
copy_file
(
dest_path
)
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment