diff --git a/CHANGELOG.md b/CHANGELOG.md index eee3d9a37..84f4975ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ BUG FIXES: same name as a real directory. [GH-3732] - core: Parallelization is more stable, doesn't crash due to to bad locks. [GH-3735] + - commands/package: Don't double included files in package. [GH-3637] - guests/linux: Rsync chown ignores symlinks. [GH-3744] - guests/openbsd: Remove '-v' flag from chown for rsync. [GH-3743] - provisioners/shell: Fix shell provisioner config validation when the diff --git a/lib/vagrant/action/general/package.rb b/lib/vagrant/action/general/package.rb index 1986dc598..6c44491fa 100644 --- a/lib/vagrant/action/general/package.rb +++ b/lib/vagrant/action/general/package.rb @@ -93,7 +93,7 @@ module Vagrant # Switch into that directory and package everything up Util::SafeChdir.safe_chdir(@env["package.directory"]) do # Find all the files in our current directory and tar it up! - files = Dir.glob(File.join(".", "**", "*")) + files = Dir.glob(File.join(".", "*")) # Package! Util::Subprocess.execute("bsdtar", "-czf", output_path, *files)