version 1.16, 2010/01/11 21:16:33 |
version 1.17, 2011/08/09 01:10:16 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: fill_chroot,v 1.15 2009/05/11 21:07:35 andrew Exp $ |
# $RedRiver: fill_chroot,v 1.16 2010/01/11 21:16:33 andrew Exp $ |
|
|
CHROOT=${CHROOT:=/home/andrew/www} |
CHROOT=${CHROOT:=/home/andrew/www} |
CHROOT=`echo $CHROOT | sed -e 's,/*$,,'` |
CHROOT=`echo $CHROOT | sed -e 's,/*$,,'` |
|
|
|
|
_find="-type f -a (" |
_find="-type f -a (" |
_find="${_find} -name *.so.* -o -name *.so" |
_find="${_find} -name *.so.* -o -name *.so" |
|
_find="${_find} -o -path '*/usr/bin' -o -path '*/usr/sbin'" |
|
|
echo Installing Directory Structure |
echo Installing Directory Structure |
install -d -m 1750 -o www -g bin ${CHROOT}/tmp |
install -d -m 1750 -o www -g bin ${CHROOT}/tmp |