#!/bin/sh -
#	$Id: s_perm,v 1.6 2000/10/23 17:45:04 bostic Exp $

echo 'Updating Berkeley DB source tree permissions...'

run()
{
	echo "	$1 ($2)"
	if [ -f "../$1" ]; then
		chmod "$2" "../$1"
	else
		echo "$1: no such file or directory"
		exit 1
	fi
}

run dist/build/chk.def 0555
run dist/build/chk.offt 0555
run dist/build/chk.srcfiles 0555
run dist/build/chk.tags 0555
run dist/config.guess 0555
run dist/config.sub 0555
run dist/configure 0555
run dist/install-sh 0555
run dist/s_config 0555
run dist/s_include 0555
run dist/s_java 0555
run dist/s_perm 0555
run dist/s_readme 0555
run dist/s_recover 0555
run dist/s_symlink 0555
run dist/s_tags 0555
run dist/s_tcl 0555
run dist/s_vms 0555
run dist/s_win32 0555
run perl.BerkeleyDB/dbinfo 0555
run perl.BerkeleyDB/mkpod 0555
run test/upgrade/generate-2.X/pack-2.6.6.pl 0555
run test/upgrade/scripts/pack-3.0.pl 0555
