Skip to content

Commit

Permalink
Merge pull request #406 from oneclick/7z
Browse files Browse the repository at this point in the history
Use 7zip MINGW package instead of MSYS
  • Loading branch information
larskanis authored Jan 16, 2025
2 parents 1b93823 + 67060bf commit 16aa941
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 16aa941

Please sign in to comment.