Commit a33b3121 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 2a751fcd
Pipeline #370258829 failed with stage
in 25 minutes and 50 seconds
......@@ -187,6 +187,7 @@ Public Sub Load()
If {Library} Then
hLibraryInfo = CLibraryInfo[Path]
hLibraryInfo.GetInfo()
sPath = Temp$()
File.Save(sPath, hLibraryInfo.Info)
......
......@@ -72,6 +72,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")
......@@ -106,6 +107,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