mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Call me silly, but I think it would be a good idea if initdb and other
scripts are executable after being installed. Latest changes got the permissions wrong (non executable).
This commit is contained in:
@ -631,6 +631,7 @@ AC_PROG_INSTALL
|
|||||||
|
|
||||||
INSTLOPTS="-m 444"
|
INSTLOPTS="-m 444"
|
||||||
INSTL_EXE_OPTS="-m 555"
|
INSTL_EXE_OPTS="-m 555"
|
||||||
|
INSTL_SCRIPT_OPTS="-m 755"
|
||||||
INSTL_LIB_OPTS="-m 644"
|
INSTL_LIB_OPTS="-m 644"
|
||||||
INSTL_SHLIB_OPTS="-m 644"
|
INSTL_SHLIB_OPTS="-m 644"
|
||||||
|
|
||||||
@ -639,11 +640,16 @@ case "$host_os" in
|
|||||||
hpux*)
|
hpux*)
|
||||||
INSTL_SHLIB_OPTS="-m 555" ;;
|
INSTL_SHLIB_OPTS="-m 555" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(INSTLOPTS)
|
AC_SUBST(INSTLOPTS)
|
||||||
AC_SUBST(INSTL_LIB_OPTS)
|
AC_SUBST(INSTL_LIB_OPTS)
|
||||||
AC_SUBST(INSTL_SHLIB_OPTS)
|
AC_SUBST(INSTL_SHLIB_OPTS)
|
||||||
AC_SUBST(INSTL_EXE_OPTS)
|
AC_SUBST(INSTL_EXE_OPTS)
|
||||||
|
|
||||||
|
dnl Fix autoconf's brain-dead defaults for script and shlib installs.
|
||||||
|
|
||||||
|
INSTALL_SCRIPT="\${INSTALL} $INSTL_SCRIPT_OPTS"
|
||||||
|
AC_SUBST(INSTALL_SCRIPT)
|
||||||
|
|
||||||
INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
|
INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
|
||||||
AC_SUBST(INSTALL_SHLIB)
|
AC_SUBST(INSTALL_SHLIB)
|
||||||
|
Reference in New Issue
Block a user