We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b0150 commit 9be8263Copy full SHA for 9be8263
scripts/fetch-player-dependencies.cr
@@ -99,9 +99,8 @@ dependencies_to_install.each do |dep|
99
100
# Unless we install an external dependency, crystal provides no way of extracting a tarball.
101
# Thus we'll go ahead and call a system command.
102
- args = Process.parse_arguments("-zxvf '#{download_path}/package.tgz' -C '#{download_path}'")
103
- process = Process.new("tar", args: args)
104
- process.wait.success? # => true
+ `tar -zxf '#{download_path}/package.tgz' -C '#{download_path}'"`
+ raise "Extraction for #{dep} failed" if !$?.success?
105
106
# Would use File.rename in the following steps but for some reason it just doesn't work here.
107
# Video.js itself is structured slightly differently
0 commit comments