From a15c312dfddbe413981a48a81ee4e870b91af913 Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Mon, 31 Jan 2011 01:27:39 -0800 Subject: [PATCH] Add %PATH% to system event argument subsitution This will allow the new THEME_INSTALLED system event to pass to any hook script the provided path where the theme was installed --- mythtv/libs/libmythtv/mythsystemevent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mythtv/libs/libmythtv/mythsystemevent.cpp b/mythtv/libs/libmythtv/mythsystemevent.cpp index a002c43f43d..0bc6bce8991 100644 --- a/mythtv/libs/libmythtv/mythsystemevent.cpp +++ b/mythtv/libs/libmythtv/mythsystemevent.cpp @@ -136,7 +136,8 @@ void MythSystemEventHandler::SubstituteMatches(const QStringList &tokens, if ((*it == "CARDID") || (*it == "HOSTNAME") || (*it == "SECS") || - (*it == "SENDER")) + (*it == "SENDER") || + (*it == "PATH")) { QString token = *it;