mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Our 'install-sh' script is BSD-style, therefore requires -c
to behave sanely. configure was not treating it as BSD...
This commit is contained in:
2
src/configure
vendored
2
src/configure
vendored
@@ -1407,7 +1407,7 @@ case "$host_os" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case "`basename $INSTALL`" in
|
case "`basename $INSTALL`" in
|
||||||
install|installbsd|scoinst)
|
install|installbsd|scoinst|install-sh)
|
||||||
INSTLOPTS="-c $INSTLOPTS"
|
INSTLOPTS="-c $INSTLOPTS"
|
||||||
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
|
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
|
||||||
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
|
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
|
||||||
|
@@ -373,8 +373,10 @@ case "$host_os" in
|
|||||||
INSTL_SHLIB_OPTS="-m 555" ;;
|
INSTL_SHLIB_OPTS="-m 555" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
dnl These flavors of install need -c to install by copy rather than move.
|
||||||
|
dnl install by move is fatal because it removes stuff from the source tree!
|
||||||
case "`basename $INSTALL`" in
|
case "`basename $INSTALL`" in
|
||||||
install|installbsd|scoinst)
|
install|installbsd|scoinst|install-sh)
|
||||||
INSTLOPTS="-c $INSTLOPTS"
|
INSTLOPTS="-c $INSTLOPTS"
|
||||||
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
|
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
|
||||||
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
|
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS"
|
||||||
|
Reference in New Issue
Block a user