set TERM env submit/tizen_2.1/20130502.044545 submit/tizen_2.1_smack/20130503.052845
authoryoonki.park <yoonki.park@samsung.com>
Thu, 2 May 2013 04:45:32 +0000 (13:45 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Thu, 2 May 2013 04:45:32 +0000 (13:45 +0900)
Change-Id: I4c5e656254b19d526e6e06dc23cbf7249c60fbb5
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
packaging/sdbd.spec
src/sdb.c

index 94ee1bc..4235639 100644 (file)
@@ -1,7 +1,7 @@
 Name:       sdbd
 Summary:    SDB daemon
 Version:    2.1.2
-Release:    0
+Release:    1
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz
index 701665e..5634d55 100644 (file)
--- a/src/sdb.c
+++ b/src/sdb.c
@@ -1017,6 +1017,11 @@ int set_developer_privileges() {
 
 static void init_sdk_requirements() {
     struct stat st;
+
+    if (!getenv("TERM")) {
+        putenv("TERM=linux");
+    }
+
     if (stat(ONDEMAND_ROOT_PATH, &st) == -1) {
         return;
     }