From 37fc04a7de63ac39167acfd30aa27f455ef09a7d Mon Sep 17 00:00:00 2001 From: gc Date: Sat, 5 Mar 2005 13:36:14 +0000 Subject: [PATCH] support files with spaces --- booh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/booh b/booh index b0d5d50..f946f2c 100755 --- a/booh +++ b/booh @@ -158,7 +158,7 @@ def walk_source_dir msg 2, "\t#{videos.length} videos" dest_dir = dir.sub(/^#{Regexp.quote($source)}/, $dest) - system("mkdir -p #{dest_dir}") + system("mkdir -p '#{dest_dir}'") msg 2, "Outputting in #{dest_dir}..." final_images = [] @@ -175,7 +175,7 @@ def walk_source_dir if orientation =~ /left - bottom/ convert_options += '-rotate -90 ' end - sys "#{$convert} #{convert_options}-geometry 704x528 #{img} #{dest_img}" + sys "#{$convert} #{convert_options}-geometry 704x528 '#{img}' '#{dest_img}'" end } -- 2.30.4