diff options
author | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-03-02 15:32:45 +0900 |
---|---|---|
committer | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-03-02 18:04:36 +0900 |
commit | 3906f55ff0fa421ecc4b2101f13d43b195ef4160 (patch) | |
tree | 8daa40cb071cb109007805e2cad66d023f475f50 /src | |
parent | 46bb57085f9119a1a35ab7cd6607fedebd0ab446 (diff) | |
download | cert-checker-3906f55ff0fa421ecc4b2101f13d43b195ef4160.tar.gz cert-checker-3906f55ff0fa421ecc4b2101f13d43b195ef4160.tar.bz2 cert-checker-3906f55ff0fa421ecc4b2101f13d43b195ef4160.zip |
Fix hard coded path
Change-Id: Ic47c2b6f4201fc71104077fd93dba2bff09d139c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/popup-bin/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/ui/popup-runner.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/popup-bin/CMakeLists.txt b/src/ui/popup-bin/CMakeLists.txt index a8bddfa..2b89d2f 100644 --- a/src/ui/popup-bin/CMakeLists.txt +++ b/src/ui/popup-bin/CMakeLists.txt @@ -22,6 +22,7 @@ PKG_CHECK_MODULES(CERT_CHECKER_POPUP_DEP elementary libsystemd-journal + libtzplatform-config REQUIRED) set(CERT_CHECKER_POPUP_SRC_DIR ${PROJECT_SOURCE_DIR}/src/ui/popup-bin) diff --git a/src/ui/popup-runner.cpp b/src/ui/popup-runner.cpp index 6411558..2004e05 100644 --- a/src/ui/popup-runner.cpp +++ b/src/ui/popup-runner.cpp @@ -27,6 +27,8 @@ #include <sys/types.h> #include <sys/wait.h> +#include <tzplatform_config.h> + #include <cchecker/app.h> #include <cchecker/logic.h> #include <cchecker/log.h> @@ -37,7 +39,7 @@ namespace { // anonymous using namespace CCHECKER::UI; -const char *POPUP_EXEC = "/usr/bin/cert-checker-popup"; // check-checker-popup binary +const char *POPUP_EXEC = tzplatform_mkpath(TZ_SYS_BIN, "cert-checker-popup"); // check-checker-popup binary std::string response_to_str (response_e response) { |