Annotation of openbsd/fill_chroot/perl_to_chroot, Revision 1.8
1.1 andrew 1: #!/bin/sh
1.8 ! andrew 2: # $RedRiver: perl_to_chroot,v 1.7 2008/09/16 22:14:04 andrew Exp $
1.1 andrew 3:
1.3 andrew 4: CHROOT=${CHROOT:=/var/www}
1.1 andrew 5:
1.8 ! andrew 6: for f in `find_depends /usr/bin/perl` \
1.6 andrew 7: /usr/libdata/perl5 \
8: /usr/local/libdata/perl5 \
9: ; do
1.1 andrew 10:
1.4 andrew 11: echo pax -r -w -L -p e ${f} ${CHROOT}
12: pax -r -w -L -p e ${f} ${CHROOT}
1.1 andrew 13:
14: done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>