Skip to content

Commit 0a79cf0

Browse files
authored
Merge pull request #3 from OpenVoxProject/build_fix
Fix build task to remove unneeded i386 folders
2 parents 20111b2 + a140aec commit 0a79cf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/build.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace :vox do
7272
puts "Building openvox-server"
7373
run("cd /code && rm -rf ruby && rm -rf output && bundle install --without test && lein install")
7474
run("cd /code && COW=\"#{@debs}\" MOCK=\"#{@rpms}\" GEM_SOURCE='https://rubygems.org' EZBAKE_ALLOW_UNREPRODUCIBLE_BUILDS=true EZBAKE_NODEPLOY=true LEIN_PROFILES=ezbake lein with-profile user,ezbake,provided,internal ezbake local-build")
75-
Dir.glob('output/*i386*').each { |f| FileUtils.rm_rf(f) }
75+
Dir.glob('output/**/*i386*').each { |f| FileUtils.rm_rf(f) }
7676
Dir.glob('output/puppetserver-*.tar.gz').each { |f| FileUtils.mv(f, f.sub('puppetserver','openvox-server'))}
7777
ensure
7878
teardown

0 commit comments

Comments
 (0)