[Pkg-net-snmp-commits] r307 - branches/net-snmp54/debian branches/net-snmp54-dev/debian trunk/debian
Jochen Friedrich
jochen at alioth.debian.org
Tue Nov 17 18:31:34 UTC 2009
Author: jochen
Date: 2009-11-17 18:31:34 +0000 (Tue, 17 Nov 2009)
New Revision: 307
Modified:
branches/net-snmp54-dev/debian/fixman
branches/net-snmp54/debian/fixman
trunk/debian/fixman
Log:
Fix .so based man page links.
Modified: branches/net-snmp54/debian/fixman
===================================================================
--- branches/net-snmp54/debian/fixman 2009-11-17 18:30:59 UTC (rev 306)
+++ branches/net-snmp54/debian/fixman 2009-11-17 18:31:34 UTC (rev 307)
@@ -52,8 +52,10 @@
rm -f $f
else
#echo mv $f ${f}snmp
- sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}snmp
+ sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}tmp
+ sed -e "s/^\(\.so .*\)${s}$/\1${s}snmp/" < ${f}tmp > ${f}snmp
rm -f $f
+ rm -f ${f}tmp
fi
done
done
Modified: branches/net-snmp54-dev/debian/fixman
===================================================================
--- branches/net-snmp54-dev/debian/fixman 2009-11-17 18:30:59 UTC (rev 306)
+++ branches/net-snmp54-dev/debian/fixman 2009-11-17 18:31:34 UTC (rev 307)
@@ -52,8 +52,10 @@
rm -f $f
else
#echo mv $f ${f}snmp
- sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}snmp
+ sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}tmp
+ sed -e "s/^\(\.so .*\)${s}$/\1${s}snmp/" < ${f}tmp > ${f}snmp
rm -f $f
+ rm -f ${f}tmp
fi
done
done
Modified: trunk/debian/fixman
===================================================================
--- trunk/debian/fixman 2009-11-17 18:30:59 UTC (rev 306)
+++ trunk/debian/fixman 2009-11-17 18:31:34 UTC (rev 307)
@@ -52,8 +52,10 @@
rm -f $f
else
#echo mv $f ${f}snmp
- sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}snmp
+ sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}tmp
+ sed -e "s/^\(\.so .*\)${s}$/\1${s}snmp/" < ${f}tmp > ${f}snmp
rm -f $f
+ rm -f ${f}tmp
fi
done
done
More information about the Pkg-net-snmp-commits
mailing list