Skip to content

Commit af1929f

Browse files
committed
Only chown output dir to user, not group
1 parent 0522df1 commit af1929f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tasks/build.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ namespace :vox do
7171
puts "Building openvox-server"
7272
run("cd /code && rm -rf ruby && rm -rf output && bundle install --without test && lein install")
7373
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")
74+
run_command("sudo chown -R $USER output")
7475
Dir.glob('output/**/*i386*').each { |f| FileUtils.rm_rf(f) }
7576
Dir.glob('output/puppetdb-*.tar.gz').each { |f| FileUtils.mv(f, f.sub('puppetdb','openvoxdb'))}
7677
ensure

0 commit comments

Comments
 (0)