lib/abrizer/package_hls_shaka.rb in abrizer-0.3.0 vs lib/abrizer/package_hls_shaka.rb in abrizer-0.4.0

- old
+ new

@@ -37,10 +37,10 @@ def shaka_cmd %Q|shaka-packager #{video_inputs.join(' ')} #{audio_input} --single_segment=false --hls_master_playlist_output=#{basename}.m3u8| end def make_directory - FileUtils.mkdir hls_directory unless File.exist? hls_directory + FileUtils.mkdir_p hls_directory unless File.exist? hls_directory end def hls_directory File.join output_directory, 'hls' end