On Sun, May 19, 2019 at 06:39:49PM +0200, Christoph Zwerschke wrote: > 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` ]
I think `` should be double-quoted to avoid blowing up if multiple "words" are output (I realize that shouldn't happen in this case): | if [ -z "`find . -name pg.py -perm 644`" ] || \ | [ -z "`find . -name mktar -perm 755`" ] _______________________________________________ PyGreSQL mailing list PyGreSQL@Vex.Net https://mail.vex.net/mailman/listinfo/pygresql