Commit 2185e5f1 authored by satmandu's avatar satmandu Committed by GitHub

Remove + @fileutils_verbose.to_s from crew (#4976)

* Remove  + @fileutils_verbose.to_s

* uprev
parent 33ba6a93
......@@ -590,7 +590,7 @@ def build_and_preconfigure (target_dir)
@pkg.build
@pkg.in_build = false
# wipe crew destdir
FileUtils.rm_rf Dir.glob("#{CREW_DEST_DIR}/*") + @fileutils_verbose.to_s
FileUtils.rm_rf Dir.glob("#{CREW_DEST_DIR}/*")
puts 'Preconfiguring package...'
@pkg.install
......@@ -843,7 +843,7 @@ def resolve_dependencies_and_build
ensure
#cleanup
unless @opt_keep
FileUtils.rm_rf Dir.glob("#{CREW_BREW_DIR}/*") + @fileutils_verbose.to_s
FileUtils.rm_rf Dir.glob("#{CREW_BREW_DIR}/*")
FileUtils.mkdir_p "#{CREW_BREW_DIR}/dest" #this is a little ugly, feel free to find a better way
end
end
......
# Defines common constants used in different parts of crew
CREW_VERSION = '1.5.8'
CREW_VERSION = '1.5.9'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment