aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-12-08 21:22:36 -0500
committerRalph Amissah <ralph@amissah.com>2011-12-08 21:22:49 -0500
commit4c67b33e9513bde8bace0593e6f438b9d7c2f1d0 (patch)
tree066864280dd4026c1daaabca29ea9d76411a91ec /lib
parentv3: texpdf, codeblocks, use listings package (for grey box) (diff)
v3: sysenv, only copy external images directory if it exists
Diffstat (limited to 'lib')
-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