Commit 3512284b authored by Tom Lane's avatar Tom Lane

Our 'install-sh' script is BSD-style, therefore requires -c

to behave sanely.  configure was not treating it as BSD...
parent 10d987c7
...@@ -1407,7 +1407,7 @@ case "$host_os" in ...@@ -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 ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment