texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5362] Create res* directory if not already existing.


From: Patrice Dumas
Subject: [5362] Create res* directory if not already existing.
Date: Sat, 07 Sep 2013 21:35:13 +0000

Revision: 5362
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5362
Author:   pertusus
Date:     2013-09-07 21:35:13 +0000 (Sat, 07 Sep 2013)
Log Message:
-----------
Create res* directory if not already existing.

Modified Paths:
--------------
    trunk/texi2html/test/run_parser_all.sh

Modified: trunk/texi2html/test/run_parser_all.sh
===================================================================
--- trunk/texi2html/test/run_parser_all.sh      2013-09-07 21:14:52 UTC (rev 
5361)
+++ trunk/texi2html/test/run_parser_all.sh      2013-09-07 21:35:13 UTC (rev 
5362)
@@ -116,11 +116,16 @@
         outdir="${out_dir}${dir_suffix}/"
         resdir="${res_dir}${dir_suffix}/"
         if [ -d "${outdir}$dir" ]; then
+          if [ -d "${resdir}" ]; then
+            :
+          else
+            mkdir "${resdir}"
+          fi
           if [ -d "${resdir}$dir" ]; then
           # ugly hack to avoid CVS and .svn
             rm -f "${resdir}$dir/"?*.*
           else
-             mkdir "${resdir}$dir/"
+            mkdir "${resdir}$dir/"
           fi
           cp -r "${outdir}$dir/"* "${resdir}$dir/"
           rm -f "${resdir}$dir/"*.png "${resdir}$dir/"*_l2h.css




reply via email to

[Prev in Thread] Current Thread [Next in Thread]