Skip to content

Commit

Permalink
fix: package extra files
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Jan 7, 2024
1 parent e234c95 commit a5a5e4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/vagrant-zones/action/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ def call(env)
extra = ''

## Include User Extra Files
@tmp_include = "#{tmp_dir}/_include"
if env['package.include']
extra = '_include'
Dir.mkdir(@tmp_include)
env['package.include'].each do |f|
env[:ui].info("Including user file: #{f}")
FileUtils.cp(f, @tmp_include)
FileUtils.cp(f, tmp_dir)
end
end

Expand Down

0 comments on commit a5a5e4e

Please sign in to comment.