[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.6

1.1       andrew      1: #!/bin/sh
1.6     ! andrew      2: # $RedRiver: perl_to_chroot,v 1.5 2006/06/29 18:44:19 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.6     ! andrew      7: for f in /usr/bin/perl \
        !             8:         ${PERLLIBS} \
        !             9:         /usr/libdata/perl5 \
        !            10:         /usr/local/libdata/perl5 \
        !            11:         ; do
1.1       andrew     12:
1.4       andrew     13:   echo pax -r -w -L -p e ${f} ${CHROOT}
                     14:   pax -r -w -L -p e ${f} ${CHROOT}
1.1       andrew     15:
                     16: done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>