• unknown's avatar
    Bug #32679: mysqld_safe looks for errmsg.sys in wrong path · 1d772c91
    unknown authored
    The fix for bug 28544 moved our package data from ./share/mysql
    to ./share.  mysqld_safe had the old directory hard-coded.  The
    fix is to use the @pkgdatadir@ and @prefix@ values, to adapt to
    different ways of building the package.
    
    
    scripts/make_binary_distribution.sh:
      Document that our build system explicitly overrides the @pkgfoo@ (e.g.,
      pkgdatadir, pkglibdir, etc.) variables when 'make' is called.
    scripts/mysqld_safe.sh:
      Replace hard-coded "./share/mysql" with something like
      echo @pkgdatadir@ | sed -e s/^@prefix@//.
      
      Since the fix for bug 28544, this has been broken for mysql 5.1+,
      where the package data dir is "./share" instead of "./share/mysql".
    1d772c91
mysqld_safe.sh 15.6 KB