Solaris
(not compatible with BSD install)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@880981
13f79535-47bb-0310-9956-
ffa450edef68
$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 $?