2001-03-04 19:42:05 -05:00
|
|
|
#!/bin/sh -
|
2005-12-05 10:27:46 -08:00
|
|
|
# $Id: s_perm,v 12.0 2004/11/17 03:43:35 bostic Exp $
|
2001-03-04 19:42:05 -05:00
|
|
|
|
2002-10-30 15:57:05 +04:00
|
|
|
d=..
|
2001-03-04 19:42:05 -05:00
|
|
|
echo 'Updating Berkeley DB source tree permissions...'
|
|
|
|
|
|
|
|
run()
|
|
|
|
{
|
2005-07-20 15:48:22 -07:00
|
|
|
#echo " $1 ($2)"
|
2002-10-30 15:57:05 +04:00
|
|
|
if [ -f "$d/$1" ]; then
|
|
|
|
chmod "$2" "$d/$1"
|
2001-03-04 19:42:05 -05:00
|
|
|
else
|
2002-10-30 15:57:05 +04:00
|
|
|
echo "$d/$1: no such file or directory"
|
2001-03-04 19:42:05 -05:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2002-10-30 15:57:05 +04:00
|
|
|
run build_win32/include.tcl 664
|
|
|
|
run dist/config.guess 555
|
|
|
|
run dist/config.sub 555
|
|
|
|
run dist/configure 555
|
|
|
|
run dist/install-sh 555
|
|
|
|
run dist/s_all 555
|
|
|
|
run dist/s_config 555
|
2005-07-20 15:48:22 -07:00
|
|
|
run dist/s_crypto 555
|
2002-10-30 15:57:05 +04:00
|
|
|
run dist/s_include 555
|
|
|
|
run dist/s_java 555
|
2005-07-20 15:48:22 -07:00
|
|
|
run dist/s_java_const 555
|
|
|
|
run dist/s_java_stat 555
|
|
|
|
run dist/s_java_swig 555
|
2002-10-30 15:57:05 +04:00
|
|
|
run dist/s_perm 555
|
|
|
|
run dist/s_readme 555
|
|
|
|
run dist/s_recover 555
|
|
|
|
run dist/s_rpc 555
|
|
|
|
run dist/s_symlink 555
|
|
|
|
run dist/s_tags 555
|
|
|
|
run dist/s_test 555
|
|
|
|
run dist/s_vxworks 555
|
|
|
|
run dist/s_win32 555
|
|
|
|
run dist/s_win32_dsp 555
|
|
|
|
run dist/vx_buildcd 555
|
2005-12-05 16:03:52 -08:00
|
|
|
#run mod_db4/configure 555
|
2002-10-30 15:57:05 +04:00
|
|
|
|
2005-12-05 16:03:52 -08:00
|
|
|
#run perl/BerkeleyDB/dbinfo 555
|
|
|
|
#run perl/BerkeleyDB/mkpod 555
|
2002-10-30 15:57:05 +04:00
|
|
|
|
2005-12-05 16:03:52 -08:00
|
|
|
#for i in `cd $d && find build_vxworks \
|
|
|
|
# -name '*.wsp' -o -name '*.cdf' -o -name '*.wpj'`; do
|
2005-07-20 15:48:22 -07:00
|
|
|
#echo " $i (775)"
|
2005-12-05 16:03:52 -08:00
|
|
|
# chmod 775 $d/$i
|
|
|
|
#done
|