Skip to content

Commit 5923e39

Browse files
committed
Escape double stars when unzipping Connector/C
1 parent 36f5509 commit 5923e39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/vendor_mysql.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ task "vendor:mysql", [:platform] do |_t, args|
4949
when_writing "creating #{t.name}" do
5050
cd "vendor" do
5151
sh "unzip", "-uq", full_file,
52-
"#{vendor_mysql_dir(args[:platform])}/bin/**",
53-
"#{vendor_mysql_dir(args[:platform])}/include/**",
54-
"#{vendor_mysql_dir(args[:platform])}/lib/**",
52+
"#{vendor_mysql_dir(args[:platform])}/bin/\\*\\*",
53+
"#{vendor_mysql_dir(args[:platform])}/include/\\*\\*",
54+
"#{vendor_mysql_dir(args[:platform])}/lib/\\*\\*",
5555
"#{vendor_mysql_dir(args[:platform])}/README" # contains the license info
5656
end
5757
# update file timestamp to avoid Rake performing this extraction again.

0 commit comments

Comments
 (0)