[debian-edu-commits] debian-edu/ 02/02: Don’t try to download the ToC

David Prévot taffit at moszumanska.debian.org
Fri Sep 19 23:03:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository debian-edu-doc.

commit e6b2d93b4bc3b640a4140a5a183761ce0c87fdf2
Author: David Prévot <taffit at debian.org>
Date:   Fri Sep 19 18:25:02 2014 -0400

    Don’t try to download the ToC
    
    Git-Dch: Ignore
---
 documentation/scripts/get_manual | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/scripts/get_manual b/documentation/scripts/get_manual
index 82015a6..a261c57 100755
--- a/documentation/scripts/get_manual
+++ b/documentation/scripts/get_manual
@@ -72,7 +72,7 @@ unique_section_ids() {
 # the last but one sed "preserves" the 2nd matched regex
 # the last sed does the same as dos2unix
 # head at the end chops of the last two lines with the Category:Permalink entry
-PERL_LWP_SSL_VERIFY_HOSTNAME=0 GET -H User-Agent: "${url}AllInOne?action=raw"|sed "s%<<Include(%%g" | sed "s%)>>%%g" | sed "s%$path1%%g" |sed 's/.$//'|head -n -2> id
+PERL_LWP_SSL_VERIFY_HOSTNAME=0 GET -H User-Agent: "${url}AllInOne?action=raw"|sed "s%<<Include(%%g" | sed "s%)>>%%g" | sed 's/<<TableOfContents(1//' | sed "s%$path1%%g" |sed 's/.$//'|head -n -2> id
 
 for i in `cat id` ; do
 	NAME=`echo "${i}" |sed "s/\(.*\)\/\(.*\)/\2/" `

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list