summaryrefslogtreecommitdiff
path: root/client/ug-client.c
diff options
context:
space:
mode:
authorSabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>2014-02-10 14:26:55 +0100
committerSabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>2014-02-17 14:11:16 +0100
commitf0e0a08562a88cac22640384e1f8cadbec9f4ce1 (patch)
tree73fa28ff19b417191ab5050b438a03992537d8c6 /client/ug-client.c
parentdb3a1d59af5970efaf7f2578d641484965e831b7 (diff)
downloadui-gadget-1-f0e0a08562a88cac22640384e1f8cadbec9f4ce1.tar.gz
ui-gadget-1-f0e0a08562a88cac22640384e1f8cadbec9f4ce1.tar.bz2
ui-gadget-1-f0e0a08562a88cac22640384e1f8cadbec9f4ce1.zip
bug-tizen: PTREL-662 Change-Id: I66ab7ff37a89703576ea90885300364cc63f8bf6 Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Diffstat (limited to 'client/ug-client.c')
-rw-r--r--client/ug-client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/ug-client.c b/client/ug-client.c
index 46bd4e7..ecaf16b 100644
--- a/client/ug-client.c
+++ b/client/ug-client.c
@@ -35,10 +35,14 @@
#include "ug-client.h"
+#include <tzplatform_config.h>
+
#ifdef LOG_TAG
#undef LOG_TAG
#endif
+#define PATH_UG_LAUNCHER tzplatform_mkpath(TZ_SYS_BIN,"ug-launcher")
+
#define LOG_TAG "UI_GADGET_CLIENT"
static void prt_usage(const char *cmd)
@@ -439,7 +443,7 @@ int main(int argc, char *argv[])
cmdlen = strlen(argv[0]);
if (strncmp(argv[0], "ug-launcher", cmdlen) == 0
- || strncmp(argv[0], "/usr/bin/ug-launcher", cmdlen) == 0) {
+ || strncmp(argv[0], PATH_UG_LAUNCHER , cmdlen) == 0) {
while ((opt = getopt(argc, argv, "n:d:")) != -1) {
switch (opt) {
case 'n':