httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r880981 - /httpd/httpd/trunk/build/instdso.sh
Date Mon, 16 Nov 2009 21:51:02 GMT
Author: trawick
Date: Mon Nov 16 21:51:01 2009
New Revision: 880981

URL: http://svn.apache.org/viewvc?rev=880981&view=rev
Log:
tweak r823613/PR 47951 change to avoid /usr/sbin/install on
Solaris

(not compatible with BSD install)

Modified:
    httpd/httpd/trunk/build/instdso.sh

Modified: httpd/httpd/trunk/build/instdso.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/instdso.sh?rev=880981&r1=880980&r2=880981&view=diff
==============================================================================
--- httpd/httpd/trunk/build/instdso.sh (original)
+++ httpd/httpd/trunk/build/instdso.sh Mon Nov 16 21:51:01 2009
@@ -49,7 +49,15 @@
     $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 $?



Mime
View raw message