aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-12-08 21:32:36 -0500
committerRalph Amissah <ralph@amissah.com>2011-12-08 21:32:36 -0500
commit76a73915e1b03a8fb8a6ef483b2c50093c8f06a5 (patch)
tree92425fd570f9314abb0e1bd69a10099c2bd43bf6 /lib/sisu/v3/sysenv.rb
parentdebian/changelog (3.1.6-1) (diff)
parentv3: documentation, manpage & html (man2html) (diff)
Merge commit 'sisu_3.1.7' into debian/sid
Diffstat (limited to 'lib/sisu/v3/sysenv.rb')
-rw-r--r--lib/sisu/v3/sysenv.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index 0584d85f..953c8eec 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -5207,7 +5207,9 @@ WOK
def cp_external_images
src="#{@env.processing_path.processing}/external_document/image"
dest="#{@env.path.webserv}/#{@env.path.stub_pwd}/_sisu/image_external"
- cp_images(src,dest)
+ if FileTest.directory?(src)
+ cp_images(src,dest)
+ end
end
def cp_webserver_images
src=@env.path.image_source