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

Bug#768439: debian-edu-doc: scripts/get_manual needs to be adjusted for beta releases



tags: + patch pending

thanks

> For a beta release the scripts/get_manual '~' substitution would need 
> a change, too. Maybe it would be better to use s/edu0~/edu0+/g.

It's even better to change it in a more general way. Note that the 
change doesn't touch the content of the manual. Only purpose is to avoid 
'~' in xml file section ids cause this causes PDF generation to fail.

The fix has been tested and has already been commited to git.


diff --git a/documentation/scripts/get_manual b/documentation/scripts/get_manual
index ed5889a..0e7f5a3 100755
--- a/documentation/scripts/get_manual
+++ b/documentation/scripts/get_manual
@@ -41,7 +41,7 @@ unique_section_ids() {
 	-e 'my %ids; sub escape {
         my $s = shift;
 	$s=~s/ /_/g;
-	$s=~s/~alpha/+alpha/g;
+	$s=~s/~/+/g;
 	$s=~s/"/.22/g;
 	$s=~s/\+/+-/g;
 	$s=~s/\//+AC8/g;


Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: