KWSys: Remove translation path for "/tmp_mnt/" (#10595)
In SystemTools::ClassInitialize, remove call to AddTranslationPath that was originally put in place to "work around an SGI problem." This code precluded using CMake effectively in valid directories under "/tmp_mnt/"
This commit is contained in:
parent
02e2f3e350
commit
7dcbb66315
@ -4573,8 +4573,6 @@ void SystemTools::ClassInitialize()
|
|||||||
// for windows because drive letters need to be maintained. Also,
|
// for windows because drive letters need to be maintained. Also,
|
||||||
// there are not sym-links and mount points on windows anyway.
|
// there are not sym-links and mount points on windows anyway.
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||||
// Work-around an SGI problem by always adding this mapping:
|
|
||||||
SystemTools::AddTranslationPath("/tmp_mnt/", "/");
|
|
||||||
// The tmp path is frequently a logical path so always keep it:
|
// The tmp path is frequently a logical path so always keep it:
|
||||||
SystemTools::AddKeepPath("/tmp/");
|
SystemTools::AddKeepPath("/tmp/");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user