Browse Source

Initialize umask to a known value (002)

pull/46/head
devrandom 9 years ago
parent
commit
ac4f77bcd1
  1. 1
      bin/gbuild

1
bin/gbuild

@ -94,6 +94,7 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime) @@ -94,6 +94,7 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime)
File.open("var/build-script", "w") do |script|
script.puts "#!/bin/bash"
script.puts "set -e"
script.puts "umask 002"
script.puts "export OUTDIR=$HOME/out"
script.puts "GBUILD_BITS=#{bits}"
script.puts "MAKEOPTS=(-j#{@options[:num_procs]})"

Loading…
Cancel
Save