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
c5991cdc
Unverified
Commit
c5991cdc
authored
Jan 26, 2018
by
Thom May
Browse files
branch rather than do both
Signed-off-by:
Thom May
<
thom@chef.io
>
parent
6a8f4cfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/omnibus/builder.rb
View file @
c5991cdc
...
...
@@ -662,13 +662,14 @@ module Omnibus
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
}
"
}
else
files
.
each
do
|
file
|
FileUtils
.
ln_s
(
file
,
destination
,
options
)
files
=
FileSyncer
.
glob
(
source
)
if
files
.
empty?
log
.
warn
(
log_key
)
{
"no matched files for glob
#{
command
}
"
}
else
files
.
each
do
|
file
|
FileUtils
.
ln_s
(
file
,
destination
,
options
)
end
end
end
end
...
...
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