Annotation of openbsd/fill_chroot/perl_to_chroot, Revision 1.4
1.1 andrew 1: #!/bin/sh
1.4 ! andrew 2: # $RedRiver: perl_to_chroot,v 1.3 2005/12/21 19:14:12 andrew Exp $
1.1 andrew 3:
4: PERLLIBS=`ldd /usr/bin/perl | cut -d ' ' -f 7 | sed -e 's/:$//'`
1.3 andrew 5: CHROOT=${CHROOT:=/var/www}
1.1 andrew 6:
1.2 andrew 7: for f in ${PERLLIBS} /usr/libdata/perl5 /usr/local/libdata/perl5; do
1.1 andrew 8:
1.4 ! andrew 9: echo pax -r -w -L -p e ${f} ${CHROOT}
! 10: pax -r -w -L -p e ${f} ${CHROOT}
1.1 andrew 11:
12: done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>