From: Jeff Trawick Date: Mon, 16 Nov 2009 21:51:01 +0000 (+0000) Subject: tweak r823613/PR 47951 change to avoid /usr/sbin/install on X-Git-Tag: 2.3.4~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef5fc9c5b21ea59f2eb55e6c83536ceb8a96b1b3;p=apache tweak r823613/PR 47951 change to avoid /usr/sbin/install on Solaris (not compatible with BSD install) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@880981 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/instdso.sh b/build/instdso.sh index e6c370438b..884e81f383 100755 --- a/build/instdso.sh +++ b/build/instdso.sh @@ -49,7 +49,15 @@ then $CMD || exit $? fi -type install >/dev/null 2>&1 && INSTALL_CMD=install || INSTALL_CMD=cp +case $SYS in + SunOS) + INSTALL_CMD=cp + ;; + *) + type install >/dev/null 2>&1 && INSTALL_CMD=install || INSTALL_CMD=cp + ;; +esac + CMD="$SH_LIBTOOL --mode=install $INSTALL_CMD $DSOARCHIVE $TARGETDIR/" echo $CMD $CMD || exit $?