tag 376669 +patch
thank you bts, you look good today

On Tuesday 04 July 2006 11:04, Julien Danjou wrote:
> Yes, sorry I did not think it was a problem with /bin/sh.
> Downgrading.

But they should build anyway ;)

calling /bin/echo instead of the shell built in echo fixes it.

I guess this patch come out kind of 'mangled', but it is only 
changing echo to /bin/echo:

diff -u siege-2.65/debian/rules siege-2.65/debian/rules
--- siege-2.65/debian/rules
+++ siege-2.65/debian/rules
@@ -64,12 +65,12 @@
                | sed -e  's/layingsiege(1)/layingsiege(7)/'> 
$(DMANDIR)/man5/urls.txt.5
        rm $(DMANDIR)/man1/urls_txt.1

-       echo -en ',s/^\.SH PROGRAM NAME/.SH 
NAME/\n,s/layingsiege(1)/layingsiege(7)/\n,s/urls_txt(1)/urls_txt(5)/\nw\n' \
+       /bin/echo -en ',s/^\.SH PROGRAM NAME/.SH 
NAME/\n,s/layingsiege(1)/layingsiege(7)/\n,s/urls_txt(1)/urls_txt(5)/\nw\n' \
            | ed $(DMANDIR)/man1/siege.1

-       echo -en ',s/layingsiege (1)/layingsiege (7)/\n,s/urls_txt (1)/urls_txt 
(5)/\nw\n' |ed $(DMANDIR)/man1/bombardment.1
+       /bin/echo -en ',s/layingsiege (1)/layingsiege (7)/\n,s/urls_txt 
(1)/urls_txt (5)/\nw\n' |ed $(DMANDIR)/man1/bombardment.1

-       echo -en ',s/^\.SH UTILITY/.SH 
NAME/\n,s/layingsiege(1)/layingsiege(7)/\nw\n' |ed 
$(DMANDIR)/man1/siege.config.1
+       /bin/echo -en ',s/^\.SH UTILITY/.SH 
NAME/\n,s/layingsiege(1)/layingsiege(7)/\nw\n' |ed 
$(DMANDIR)/man1/siege.config.1

        mkdir $(DMANDIR)/man7
        cat $(DMANDIR)/man1/layingsiege.1 |sed -e 's/^\.TH SIEGE 1/.TH 
LAYINGSIEGE 7/' | sed -e 's/^\.SH PERFORMANCE TESTING/.SH NAME/' \


if I remember correctly, the echo in dash does not like -e.

/Sune

Attachment: pgpyyBPZMpUaK.pgp
Description: PGP signature

Reply via email to