Skip to content

Commit

Permalink
Use 7zip MINGW package instead of MSYS
Browse files Browse the repository at this point in the history
It is faster and more up-to-date.
  • Loading branch information
larskanis committed Jan 16, 2025
1 parent a790d77 commit 67060bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/archive-7z/70-create-archive.rake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
file archivefile => sandbox_task.sandboxfiles do
rm_f archivefile
msys_sh <<-EOT
pacman -S --needed --noconfirm p7zip
pacman -S --needed --noconfirm $MINGW_PACKAGE_PREFIX-7zip
EOT

chdir "recipes/sandbox" do
sh "sh 7z a -bd ../../#{archivefile} #{sandboxdir.sub("recipes/sandbox/", "")} | ruby -ne \"STDERR.print '.'\""
sh "7z a -bd -snl ../../#{archivefile} #{sandboxdir.sub("recipes/sandbox/", "")} | ruby -ne \"STDERR.print '.'\""
end
end

0 comments on commit 67060bf

Please sign in to comment.