Return to fix_ldconfig CVS log | Up to [local] / openbsd / fill_chroot |
version 1.1, 2005/12/21 18:04:06 | version 1.2, 2005/12/21 18:16:03 | ||
---|---|---|---|
|
|
||
#!/bin/sh | #!/bin/sh | ||
# $RedRiver$ | # $RedRiver: fix_ldconfig,v 1.1 2005/12/21 18:04:06 andrew Exp $ | ||
CHROOT=${CHROOT:=/home/andrew/www} | CHROOT=${CHROOT:=/home/andrew/www} | ||
|
|
||
cp /sbin/ldconfig ${CHROOT}/bin | cp /sbin/ldconfig ${CHROOT}/bin | ||
chroot ${CHROOT} /bin/ldconfig /usr/local/lib | chroot ${CHROOT} /bin/ldconfig /usr/local/lib | ||
rm -f ${CHROOT}/bin/ldconfig | rm -f ${CHROOT}/bin/ldconfig | ||