[BACK]Return to perl_to_chroot CVS log [TXT][DIR] Up to [local] / openbsd / fill_chroot

Annotation of openbsd/fill_chroot/perl_to_chroot, Revision 1.5

1.1       andrew      1: #!/bin/sh
1.5     ! andrew      2: # $RedRiver: perl_to_chroot,v 1.4 2006/01/16 21:03:12 andrew Exp $
1.1       andrew      3:
1.5     ! andrew      4: PERLLIBS=`ldd /usr/bin/perl | cut -c 41- | grep ^/`
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>