Skip to content

Commit 16aa941

Browse files
authored
Merge pull request #406 from oneclick/7z
Use 7zip MINGW package instead of MSYS
2 parents 1b93823 + 67060bf commit 16aa941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
file archivefile => sandbox_task.sandboxfiles do
22
rm_f archivefile
33
msys_sh <<-EOT
4-
pacman -S --needed --noconfirm p7zip
4+
pacman -S --needed --noconfirm $MINGW_PACKAGE_PREFIX-7zip
55
EOT
66

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

0 commit comments

Comments
 (0)