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

Diff for /openbsd/fill_chroot/fix_ldconfig between version 1.1 and 1.3

version 1.1, 2005/12/21 18:04:06 version 1.3, 2005/12/21 19:14:12
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver$  # $RedRiver: fix_ldconfig,v 1.2 2005/12/21 18:16:03 andrew Exp $
   
 CHROOT=${CHROOT:=/home/andrew/www}  CHROOT=${CHROOT:=/var/www}
   
 if [ ${CHROOT}"X" == "X" ]; then  if [ ${CHROOT}"X" == "X" ]; then
   echo No CHROOT Specified!    echo No CHROOT Specified!
Line 14 
Line 14 
 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
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

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