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

* Remove  + @fileutils_verbose.to_s

* uprev
This commit is contained in:
satmandu
2021-01-23 13:45:40 -05:00
committed by GitHub
parent 33ba6a93b6
commit 2185e5f15a
2 changed files with 3 additions and 3 deletions

4
crew
View File

@@ -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

View File

@@ -1,6 +1,6 @@
# 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