D18456: actually look for mysql binaries in PATH

Harald Sitter noreply at phabricator.kde.org
Tue Jan 22 14:13:02 GMT 2019


sitter created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
sitter requested review of this revision.

REVISION SUMMARY
  the new helper findExectuable first tries to find the executables in the
  default location. which is all the sane distro/system paths and will 99%
  yield a result.
  should it come back negative we'll fall back to the hardcoded list of
  paths as previously used.
  
  this fixes binary lookup when the entire dir tree is located *not* under /
  (as with snap and I think also appimage)

REPOSITORY
  R165 Akonadi

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D18456

AFFECTED FILES
  src/server/storage/dbconfigmysql.cpp

To: sitter
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190122/eaa65bdd/attachment.html>


More information about the kde-pim mailing list