tags 468684 + patch thanks Patch attached.
This patch introduces a patch system: if you do not wish to use one, I have
also attached 468684-simple.diff, which is the patch without it.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad ibackup-2.27.orig/debian/control ibackup-2.27/debian/control
--- ibackup-2.27.orig/debian/control 2008-04-08 08:23:36.000000000 +0100
+++ ibackup-2.27/debian/control 2008-04-08 08:27:00.000000000 +0100
@@ -2,7 +2,7 @@
Section: admin
Priority: optional
Maintainer: Andre Luis Lopes <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>= 4.0.0)
+Build-Depends-Indep: debhelper (>= 4.0.0), quilt
Standards-Version: 3.6.1.0
Package: ibackup
diff -urNad ibackup-2.27.orig/debian/patches/01-bashisms.diff
ibackup-2.27/debian/patches/01-bashisms.diff
--- ibackup-2.27.orig/debian/patches/01-bashisms.diff 1970-01-01
01:00:00.000000000 +0100
+++ ibackup-2.27/debian/patches/01-bashisms.diff 2008-04-08
08:26:30.000000000 +0100
@@ -0,0 +1,39 @@
+diff -urNad ibackup-2.27.orig/sysconf ibackup-2.27/sysconf
+--- ibackup-2.27.orig/sysconf 2008-04-08 08:23:36.000000000 +0100
++++ ibackup-2.27/sysconf 2008-04-08 08:24:51.000000000 +0100
+@@ -48,7 +48,7 @@
+ #echo $f
+ if [ -f $f ]; then
+ if [ ! "${h}x" = "-ax" ]; then
+- echo -e "<h3><a name=\"${1}\">$2</a></h3>"
++ printf "<h3><a name=\"${1}\">$2</a></h3>\n"
+ fi
+ echo "# $1"
+ if [ ! "${h}x" = "-ax" ]; then
+@@ -63,7 +63,7 @@
+ *)
+ which `echo $1 | sed "s/ .*$//g"` >/dev/null && {
+ if [ ! "${h}x" = "-ax" ]; then
+- echo -e "<h3><a name=\"${1}\">$2</a></h3>"
++ printf "<h3><a name=\"${1}\">$2</a></h3>\n"
+ else
+ echo
+ fi
+@@ -83,7 +83,7 @@
+ titleindex()
+ {
+ if [ ! "${h}x" = "-ax" ]; then
+- builtin echo -ne "<h2><a href=\"#${1}\">$1</a></h2>"
++ printf "<h2><a href=\"#${1}\">$1</a></h2>"
+ else
+ echo $1
+ fi
+@@ -102,7 +102,7 @@
+ {
+ if [ ! "${h}x" = "-ax" ]; then
+ echo "<hr>"
+- echo -e "<h2><a name=\"${1}\">$1</a></h2>"
++ printf "<h2><a name=\"${1}\">$1</a></h2>\n"
+ else
+ echo $1
+ fi
diff -urNad ibackup-2.27.orig/debian/patches/series
ibackup-2.27/debian/patches/series
--- ibackup-2.27.orig/debian/patches/series 1970-01-01 01:00:00.000000000
+0100
+++ ibackup-2.27/debian/patches/series 2008-04-08 08:26:34.000000000 +0100
@@ -0,0 +1 @@
+01-bashisms.diff
diff -urNad ibackup-2.27.orig/debian/rules ibackup-2.27/debian/rules
--- ibackup-2.27.orig/debian/rules 2008-04-08 08:23:36.000000000 +0100
+++ ibackup-2.27/debian/rules 2008-04-08 08:26:53.000000000 +0100
@@ -5,19 +5,21 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/quilt/quilt.make
+
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
-build: build-stamp
+build: patch build-stamp
build-stamp: configure-stamp
dh_testdir
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
diff -urNad ibackup-2.27.orig/sysconf ibackup-2.27/sysconf
--- ibackup-2.27.orig/sysconf 2008-04-08 08:23:36.000000000 +0100
+++ ibackup-2.27/sysconf 2008-04-08 08:24:51.000000000 +0100
@@ -48,7 +48,7 @@
#echo $f
if [ -f $f ]; then
if [ ! "${h}x" = "-ax" ]; then
- echo -e "<h3><a name=\"${1}\">$2</a></h3>"
+ printf "<h3><a name=\"${1}\">$2</a></h3>\n"
fi
echo "# $1"
if [ ! "${h}x" = "-ax" ]; then
@@ -63,7 +63,7 @@
*)
which `echo $1 | sed "s/ .*$//g"` >/dev/null && {
if [ ! "${h}x" = "-ax" ]; then
- echo -e "<h3><a name=\"${1}\">$2</a></h3>"
+ printf "<h3><a name=\"${1}\">$2</a></h3>\n"
else
echo
fi
@@ -83,7 +83,7 @@
titleindex()
{
if [ ! "${h}x" = "-ax" ]; then
- builtin echo -ne "<h2><a href=\"#${1}\">$1</a></h2>"
+ printf "<h2><a href=\"#${1}\">$1</a></h2>"
else
echo $1
fi
@@ -102,7 +102,7 @@
{
if [ ! "${h}x" = "-ax" ]; then
echo "<hr>"
- echo -e "<h2><a name=\"${1}\">$1</a></h2>"
+ printf "<h2><a name=\"${1}\">$1</a></h2>\n"
else
echo $1
fi
signature.asc
Description: PGP signature

