diff --git a/packages/base/lua/Directory.lua b/packages/base/lua/Directory.lua index 7902ff74..d7315fbe 100644 --- a/packages/base/lua/Directory.lua +++ b/packages/base/lua/Directory.lua @@ -264,7 +264,7 @@ function Directory(data) data.fullpath = _Gtme.makePathCompatibleToAllOS(data.fullpath) if sessionInfo().system == "windows" then - data.fullpath = replaceLatinCharacters(data.fullpath) + data.fullpath = replaceLatinCharacters(data.fullpath) --SKIP end if data.fullpath:sub(-1) == "/" then @@ -282,9 +282,9 @@ function Directory(data) table.insert(_Gtme.tmpdirectory__, data) if sessionInfo().system == "windows" then - data.fullpath = replaceLatinCharacters(cmd) + data.fullpath = replaceLatinCharacters(cmd) --SKIP else - data.fullpath = cmd + data.fullpath = cmd --SKIP end end diff --git a/packages/base/lua/File.lua b/packages/base/lua/File.lua index 1450d7cf..c59b55f4 100644 --- a/packages/base/lua/File.lua +++ b/packages/base/lua/File.lua @@ -566,7 +566,7 @@ function File(data) checkInvalidChars(data:name()) if sessionInfo().system == "windows" then - data.filename = replaceLatinCharacters(data.filename) + data.filename = replaceLatinCharacters(data.filename) --SKIP end if isDirectory(data.filename) then diff --git a/packages/gis/tests/functional/alternative/Layer.lua b/packages/gis/tests/functional/alternative/Layer.lua index b425efaf..70c43896 100644 --- a/packages/gis/tests/functional/alternative/Layer.lua +++ b/packages/gis/tests/functional/alternative/Layer.lua @@ -458,7 +458,7 @@ return{ name = "conservation" } end - unitTest:assertError(patternFileError, "Directory path '"..packageInfo("gis").path.."/data*/".."' cannot contain character '*'.") + unitTest:assertError(patternFileError, "Directory path '"..packageInfo("gis").path.."/data*/".."' contains invalid character '*'.") patternFileError = function() Layer{ @@ -508,7 +508,7 @@ return{ times = {1961, 1974} } end - unitTest:assertError(patternFileError, "Directory path '"..packageInfo("gis").path.."/data*/".."' cannot contain character '*'.") + unitTest:assertError(patternFileError, "Directory path '"..packageInfo("gis").path.."/data*/".."' contains invalid character '*'.") local patternWarning = function() Layer{