git-svn-id: svn://db.shs.com.ru/pip@502 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -113,7 +113,7 @@ PIString PIDir::absolutePath() const {
|
|||||||
|
|
||||||
PIDir & PIDir::cleanPath() {
|
PIDir & PIDir::cleanPath() {
|
||||||
PIString p(path_);
|
PIString p(path_);
|
||||||
if (p.size() == 0) {
|
if (p.isEmpty()) {
|
||||||
path_ = ".";
|
path_ = ".";
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
@@ -197,7 +197,7 @@ bool PIDir::make(bool withParents) {
|
|||||||
if (!cdp.isEmpty())
|
if (!cdp.isEmpty())
|
||||||
cdp += separator;
|
cdp += separator;
|
||||||
cdp += i;
|
cdp += i;
|
||||||
//piCout << cdp;
|
//piCout << "dir" << cdp;
|
||||||
if (!isExists(cdp))
|
if (!isExists(cdp))
|
||||||
if (!makeDir(cdp))
|
if (!makeDir(cdp))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user