=================================================================== RCS file: /cvs/openbsd/fill_chroot/fill_chroot,v retrieving revision 1.1 retrieving revision 1.4 diff -u -r1.1 -r1.4 --- openbsd/fill_chroot/fill_chroot 2005/12/21 19:14:12 1.1 +++ openbsd/fill_chroot/fill_chroot 2006/01/26 17:11:09 1.4 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver$ +# $RedRiver: fill_chroot,v 1.3 2006/01/25 17:25:07 andrew Exp $ CHROOT=${CHROOT:=/home/andrew/www} export CHROOT @@ -7,7 +7,7 @@ perl_to_chroot mkdir -p ${CHROOT}/usr/local/lib -find ${CHROOT} -name *.so* | xargs find_depends | \ - sort -u | xargs -I {} cp {} ${CHROOT}{} +find ${CHROOT} -name *.so.* -or -name *.so | xargs find_depends | \ + sort -u | xargs -I {} pax -r -w -L -p e {} ${CHROOT} fix_ldconfig