SF.net SVN: docutils:[9891] trunk/sandbox/infrastructure/ docutils-update.local

grubert--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9891
          http://sourceforge.net/p/docutils/code/9891
Author:   grubert
Date:     2024-08-13 10:36:09 +0000 (Tue, 13 Aug 2024)
Log Message:
-----------
FIX do not generate .rst.html files

Modified Paths:
--------------
    trunk/sandbox/infrastructure/docutils-update.local

Modified: trunk/sandbox/infrastructure/docutils-update.local
===================================================================
--- trunk/sandbox/infrastructure/docutils-update.local	2024-08-13 10:34:38 UTC (rev 9890)
+++ trunk/sandbox/infrastructure/docutils-update.local	2024-08-13 10:36:09 UTC (rev 9891)
@@ -192,7 +192,7 @@
 while read -r txtfile ; do
     dir=`dirname $txtfile`
     base=`basename $txtfile .rst`
-    base=`basename $txtfile .txt`
+    base=`basename $base .txt`
     htmlfile=$dir/$base.html
     if [ ! -e $htmlfile ] ; then
         print_feedback "touch $htmlfile"
@@ -207,7 +207,7 @@
 while read -r txtfile ; do
     dir=`dirname $txtfile`
     base=`basename $txtfile .rst`
-    base=`basename $txtfile .txt`
+    base=`basename $base .txt`
     htmlfile=$dir/$base.html
     if [ ! -e $htmlfile ] ; then
         print_feedback "touch $htmlfile"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.