Commits

Peter Eisentraut committed 563de3e

Only run cpluspluscheck when it is executable

This excludes some earlier versions where the calling conventions are a
bit different.

Comments (0)

Files changed (1)

jobhelpers/postgresql-build.sh

 	make -k maintainer-check
 fi
 
-if [ -e src/tools/pginclude/cpluspluscheck ]; then
-	sh src/tools/pginclude/cpluspluscheck 2>&1 | tee cpluspluscheck.out
+if [ -x src/tools/pginclude/cpluspluscheck ]; then
+	src/tools/pginclude/cpluspluscheck 2>&1 | tee cpluspluscheck.out
 	[ -s cpluspluscheck.out ] && echo unstable | md5sum
 fi