i386 jail on amd64 continued

Dmitry Morozovsky marck at rinet.ru
Mon Jul 6 16:17:07 EDT 2009


On Mon, 6 Jul 2009, Dmitry Marakasov wrote:

DM> * Dmitry Marakasov (amdmi3 at amdmi3.ru) wrote:
DM> 
DM> > Sorry, patch is now attached.
DM> 
DM> Sorry again.
DM> 
DM> http://people.freebsd.org/~amdmi3/tinderbox/lib-tc_command.sh.patch

+wrap () {
+	cp $1 $1.orig
+	cat > $1 << _END
+#!/bin/sh
+\$0.orig \$@ | sed -e 's|amd64|i386|g'
+_END
+}
+

Just to be on the safe side: don't you think 

\$0.orig "\$@"

should be used instead?

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the tinderbox-list mailing list