Skip to content

Commit

Permalink
Force mythfilldatabase to run from install PREFIX.
Browse files Browse the repository at this point in the history
This reverts behavior following 6122951 to force the full path
of mythfilldatabase to be absolute, based off the stored install PREFIX,
rather than relying on the binary to show up in the environment's binary
path.

Fixes #11633
  • Loading branch information
wagnerrp committed Jul 1, 2013
1 parent 66f80e0 commit b561603
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/programs/mythbackend/backendhousekeeper.cpp
Expand Up @@ -556,7 +556,10 @@ bool MythFillDatabaseTask::DoRun(void)

uint opts = kMSRunShell | kMSAutoCleanup;
if (mfpath == "mythfilldatabase")
{
opts |= kMSPropagateLogs;
mfpath = GetInstallPrefix() + "/bin/mythfilldatabase";
}

QString cmd = QString("%1 %2").arg(mfpath).arg(mfarg);

Expand Down

0 comments on commit b561603

Please sign in to comment.