Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/fix_bug_1001477 
into lp:zorba.

Requested reviews:
  Zorba Coders (zorba-coders)
Related bugs:
  Bug #1001477 in Zorba: "Error on xqdoc test for windows"
  https://bugs.launchpad.net/zorba/+bug/1001477

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix_bug_1001477/+merge/106773

Fixed bug lp:1001477.
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix_bug_1001477/+merge/106773
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/fix_bug_1001477 into lp:zorba.
=== modified file 'modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq'
--- modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq	2012-05-18 15:36:42 +0000
+++ modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq	2012-05-22 10:19:23 +0000
@@ -267,15 +267,12 @@
                                    file:directory-separator(), "main.html")
   return
     {
-      (: first - create the xhtml folder if it does not exist already :)
-      file:create-directory($xhtmlPath);
-
-      (: second - clear the XHTML folder :)
       if(file:exists($xhtmlPath)) then
         file:delete($xhtmlPath);
       else ();
 
-      (: third - re-copy these files :)
+      file:create-directory($xhtmlPath);
+
       xqdoc2html:copy-files($xhtmlRequisitesPath, $imagesPath ,("gif", "png", "svg"));
       xqdoc2html:copy-files($xhtmlRequisitesPath, $libPath    ,"js");
       xqdoc2html:copy-files($xhtmlRequisitesPath, $cssPath    ,"css");

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to