projects
/
platform
/
framework
/
web
/
wrt-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea040b9
)
Fixed check exist directory.
author
Soyoung Kim
<sy037.kim@samsung.com>
Fri, 8 Mar 2013 04:41:19 +0000
(13:41 +0900)
committer
Gerrit Code Review
<gerrit2@kim11>
Fri, 8 Mar 2013 08:02:52 +0000
(17:02 +0900)
[Issue#] N/A
[Problem] couldn't check exist directory.
[Cause] there is a bug about checking exist directory.
[Solution] fixed it.
[SCMRequest] N/A
src/jobs/widget_install/job_widget_install.cpp
patch
|
blob
|
history
diff --git
a/src/jobs/widget_install/job_widget_install.cpp
b/src/jobs/widget_install/job_widget_install.cpp
index
26e8978
..
2607ab6
100644
(file)
--- a/
src/jobs/widget_install/job_widget_install.cpp
+++ b/
src/jobs/widget_install/job_widget_install.cpp
@@
-148,7
+148,7
@@
bool checkTizenPkgIdExist(const std::string& tizenPkgId)
"/" + tizenPkgId;
struct stat dirStat;
- if ((stat(installPath.c_str(), &dirStat) == 0)
&&
+ if ((stat(installPath.c_str(), &dirStat) == 0)
||
(stat(preinstallPath.c_str(), &dirStat) == 0))
{
return true;