mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-25 05:11:49 +00:00
Create the output directory if it does not already exist.
This commit is contained in:
parent
0a684be50f
commit
d414423c35
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/ruby
|
||||
|
||||
require 'fileutils'
|
||||
require 'rubygems'
|
||||
require 'find'
|
||||
require 'json'
|
||||
|
@ -259,6 +260,8 @@ input_dir = ARGV[0]
|
|||
package_map_file = ARGV[1]
|
||||
output_dir = ARGV[2]
|
||||
|
||||
FileUtils.mkpath(output_dir)
|
||||
|
||||
# get the details of each input file
|
||||
input_file_list = []
|
||||
Find.find(input_dir) do |path|
|
||||
|
|
Loading…
Reference in a new issue