fix additional '/' character in plugin_list path. 25/72025/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Mon, 30 May 2016 08:38:04 +0000 (17:38 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Mon, 30 May 2016 08:40:15 +0000 (17:40 +0900)
plus, log manifest name when pkg_initdb is doing.

Change-Id: I37fbc83f52f7432717762595873d3996fdf7648c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/common/CMakeLists.txt
src/pkg_initdb/pkg_initdb.cc

index 5be7bdd..ae6658d 100644 (file)
@@ -117,7 +117,7 @@ INSTALL(TARGETS ${TARGET_LIBNAME_COMMON} DESTINATION ${LIB_INSTALL_DIR})
 SET(PLUGINS_LIST_FILE_NAME plugins_list.txt)
 SET(PLUGINS_LIST_FILE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/plugins/${PLUGINS_LIST_FILE_NAME})
 
-SET(PLUGINS_LIST_INSTALL_PATH ${SHAREDIR}/app-installers/)
+SET(PLUGINS_LIST_INSTALL_PATH ${SHAREDIR}/app-installers)
 SET(PLUGINS_LIST_INSTALL_FILE_PATH ${PLUGINS_LIST_INSTALL_PATH}/${PLUGINS_LIST_FILE_NAME})
 
 ADD_DEFINITIONS("-DPLUGINS_LIST_INSTALL_FILE_PATH=\"${PLUGINS_LIST_INSTALL_FILE_PATH}\"")
index a058220..795316d 100644 (file)
@@ -58,6 +58,8 @@ void InitdbLoadDirectory(uid_t uid, const bf::path& directory, bool preload) {
     if (!bf::is_regular_file(iter->path()))
       continue;
 
+    std::cerr << "Manifest : " << iter->path() << std::endl;
+
     tpk::parse::TPKConfigParser parser;
     if (!parser.ParseManifest(iter->path())) {
       std::cerr << "Failed to parse tizen manifest file: "