Setup: Source dir recorded with a trailing backslash under windows

SVN:trunk[2829]
This commit is contained in:
Romain Quetiez
2013-08-22 11:57:31 +00:00
parent 2893d16d58
commit 75eb44912f

View File

@@ -1314,8 +1314,10 @@ EOF
if ($aDirs !== false)
{
sort($aDirs);
return array_pop($aDirs);
// Windows: there is a backslash at the end (though the path is made of slashes!!!)
$sDir = basename(array_pop($aDirs));
$sRes = $sBaseDir.'/'.$sDir;
return $sRes;
}
return false;
}