summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-05-16 08:55:00 +0200
committerTails developers <amnesia@boum.org>2012-05-16 13:30:42 +0200
commit0aa86f7adfd9a48c26b2311e215f64fd9d6fc64a (patch)
treea5e92dd72d716c7b6b5cb0680aa6d82ac3084303 /Rakefile
parent69792d7bdd65279cb8edb43a93d0b9273c955687 (diff)
vagrant: Move build products to the top directory
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index fa66d3b..81cd601 100644
--- a/Rakefile
+++ b/Rakefile
@@ -144,6 +144,11 @@ task :build => ['parse_build_options', 'validate_http_proxy', 'vm:up'] do
:error_check => false) do |fd, data|
(fd == :stdout ? $stdout : $stderr).write data
end
+
+ # Move build products to the current directory
+ FileUtils.mv Dir.glob("#{VAGRANT_PATH}/tails-*"),
+ File.expand_path('..', __FILE__), :force => true
+
exit status
end