Maybe this will do? Should work on both BSD and Linux.
-- Christoph
# Set proper file permissions
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod 755 docs/Makefile docs/make.bat
chmod 755 mktar mkdocs setup.py
# Make sure file permissions have been set
if [ -z `find . -name pg.py -perm 644` ] || \
[ -z `find . -name mktar -perm 755` ]
then
echo "File permissions could not be set properly."
exit 1
fi
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo/pygresql