Quote argument to prevent wildcard expansion
authorTom Hughes <tom@compton.nu>
Sun, 19 Jan 2020 17:52:24 +0000 (17:52 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 19 Jan 2020 17:52:24 +0000 (17:52 +0000)
cookbooks/forum/recipes/default.rb

index 0f00019404d22d376b07870694709a31fd7d71a6..fcbf2f3305485014e688619c3d3c66c71456daf7 100644 (file)
@@ -72,7 +72,7 @@ end
 
 execute "#{cache_dir}/air3_v0.8.zip" do
   action :nothing
-  command "unzip -o -qq #{cache_dir}/air3_v0.8.zip Air3.css Air3/*"
+  command "unzip -o -qq #{cache_dir}/air3_v0.8.zip Air3.css 'Air3/*'"
   cwd "/srv/forum.openstreetmap.org/html/style"
   user "forum"
   group "forum"