Commit 1f499a13 authored by Benoît Minisini's avatar Benoît Minisini
Browse files

Additional project references using relative paths are correctly handled now.

[DEVELOPMENT ENVIRONMENT]
* BUG: Additional project references using relative paths are correctly handled now.
parent 88410ec7
Pipeline #370264159 passed with stage
in 26 minutes and 15 seconds
......@@ -161,6 +161,7 @@ Public Sub Load()
If {Library} Then
hLibraryInfo = CLibraryInfo[Path]
hLibraryInfo.GetInfo()
sPath = Temp$()
File.Save(sPath, hLibraryInfo.Info)
......
......@@ -71,6 +71,7 @@ Static Public Sub SolvePath(sPath As String, Optional bKeepPath As Boolean) As S
Else
sSolve = sPath
If sSolve Not Ends ".gambas" Then sSolve &= ".gambas"
If File.IsRelative(sSolve) Then sSolve = File.RealPath(Project.Dir &/ sSolve)
Endif
'sSolve = File.SetExt(sSolve, "gambas")
......@@ -105,6 +106,7 @@ Public Sub _new(sPath As String)
Path = sPath
If Not sPath Or If Not Exist(sPath) Then
Error "gambas3: warning: library not found: "; Name
NotFound = True
Return
Endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment