forked from qt-creator/qt-creator
HostOsInfo: Add some more useful abstractions.
Namely: - path list separator - executable suffix - file name case sensitivity All of these are duplicated in various places in the current Creator code. Change-Id: I86eb4662fa3c2071759bd728cae1aaf7111ae686 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
@@ -49,11 +49,7 @@ enum { defaultTimeOutS = 30 };
|
||||
|
||||
static QString defaultCommand()
|
||||
{
|
||||
QString rc;
|
||||
rc = QLatin1String("cvs");
|
||||
if (Utils::HostOsInfo::isWindowsHost())
|
||||
rc.append(QLatin1String(".exe"));
|
||||
return rc;
|
||||
return QLatin1String("cvs" QTC_HOST_EXE_SUFFIX);
|
||||
}
|
||||
|
||||
namespace Cvs {
|
||||
|
||||
Reference in New Issue
Block a user