[csw-devel] SF.net SVN: gar:[19553] csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/ cswmysql5.tpl

janholzh at users.sourceforge.net janholzh at users.sourceforge.net
Mon Nov 5 10:13:16 CET 2012


Revision: 19553
          http://gar.svn.sourceforge.net/gar/?rev=19553&view=rev
Author:   janholzh
Date:     2012-11-05 09:13:16 +0000 (Mon, 05 Nov 2012)
Log Message:
-----------
mysql5/branches/mysql-5.5.x: add Patch from Laurent Blume, to fix startup script

Modified Paths:
--------------
    csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/cswmysql5.tpl

Modified: csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/cswmysql5.tpl
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/cswmysql5.tpl	2012-10-31 15:37:22 UTC (rev 19552)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/cswmysql5.tpl	2012-11-05 09:13:16 UTC (rev 19553)
@@ -118,13 +118,15 @@
 parse_server_arguments() {
   for arg do
     case "$arg" in
+      # $mysql5_arch must have been set (or left empty) for Solaris
+      # by the OpenCSW architecture selection bit
       --basedir=*)  basedir=`echo "$arg" | sed -e 's/^[^=]*=//'`
-                    bindir="$basedir/bin"
+                    bindir="$basedir/bin/$mysql5_arch"
 		    if test -z "$datadir_set"; then
 		      datadir="$basedir/data"
 		    fi
-		    sbindir="$basedir/sbin"
-		    libexecdir="$basedir/libexec"
+		    sbindir="$basedir/sbin/$mysql5_arch"
+		    libexecdir="$basedir/libexec/$mysql5_arch"
         ;;
       --datadir=*)  datadir=`echo "$arg" | sed -e 's/^[^=]*=//'`
 		    datadir_set=1

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list