@@ -1102,7 +1102,7 @@ private command __revIDELCBExtensionLoad pID, pFolder, pVersion, pStatus, \
11021102 -- If we have an error loading, try to recompile the extension
11031103 if pError is not empty then
11041104 if not pIsIDEExtension and pSourceFile is not empty then
1105- revIDEExtensionCompile pFolder & slash & pSourceFile , tSupportFiles , pFolder , \
1105+ revIDEExtensionCompile pFolder , pSourceFile , tSupportFiles , pFolder , \
11061106 revIDEExtensionBytecodeFilename(true )
11071107 if the result is empty then
11081108 local tNewError
@@ -1468,10 +1468,16 @@ on revIDEExtensionUpdateAPI pFolder, pExtensionSource
14681468 end if
14691469end revIDEExtensionUpdateAPI
14701470
1471- command revIDEExtensionCompile pFile, pSupportFiles, pTargetFolder, pOutputFilename
1471+ command revIDEExtensionCompile pFolder, pFile, pSupportFiles, pTargetFolder, pOutputFilename
1472+ // Make file paths full paths
1473+ repeat with tLine = 1 to the number of lines in pSupportFiles
1474+ put pFolder & slash before line tLine of pSupportFiles
1475+ end repeat
1476+ put pFolder & slash before pFile
1477+
14721478 extensionCompile "" , pFile , pSupportFiles , "" , \
1473- revIDESpecialFolderPath("user extensions" ) & slash & \
1474- "interface" , pTargetFolder , pOutputFilename
1479+ revIDESpecialFolderPath("user extensions" ) & slash & \
1480+ "interface" , pTargetFolder , pOutputFilename
14751481
14761482 if the result is not empty then
14771483 return the result for error
0 commit comments