Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GitLab
omnibus
Commits
6a8f4cfc
Unverified
Commit
6a8f4cfc
authored
Jan 26, 2018
by
Thom May
Browse files
sometimes we just need to gorram make a link
Signed-off-by:
Thom May
<
thom@chef.io
>
parent
c786e4a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/omnibus/builder.rb
View file @
6a8f4cfc
...
...
@@ -660,6 +660,9 @@ module Omnibus
command
=
"link `
#{
source
}
' to `
#{
destination
}
'"
build_commands
<<
BuildCommand
.
new
(
command
)
do
Dir
.
chdir
(
software
.
project_dir
)
do
if
options
.
delete
(
:unchecked
)
FileUtils
.
ln_s
(
source
,
destination
,
options
)
end
files
=
FileSyncer
.
glob
(
source
)
if
files
.
empty?
log
.
warn
(
log_key
)
{
"no matched files for glob
#{
command
}
"
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment