Ticket #12169: mfdb-full-pathname.patch.v0

File mfdb-full-pathname.patch.v0, 699 bytes (added by Bill Meek <keemllib@…>, 12 years ago)
Line 
1diff --git mythtv/programs/mythbackend/backendhousekeeper.cpp mythtv/programs/mythbackend/backendhousekeeper.cpp
2index e242fcc..bd1ea60 100644
3--- mythtv/programs/mythbackend/backendhousekeeper.cpp
4+++ mythtv/programs/mythbackend/backendhousekeeper.cpp
5@@ -611,10 +611,12 @@ bool MythFillDatabaseTask::DoRun(void)
6 uint opts = kMSRunShell | kMSAutoCleanup;
7 if (mfpath == "mythfilldatabase")
8 {
9- opts |= kMSPropagateLogs;
10 mfpath = GetAppBinDir() + "mythfilldatabase";
11 }
12
13+ if (mfpath.endsWith("mythfilldatabase"))
14+ opts |= kMSPropagateLogs;
15+
16 QString cmd = QString("%1 %2").arg(mfpath).arg(mfarg);
17
18 m_msMFD = new MythSystemLegacy(cmd, opts);