Skip to content

Commit

Permalink
fix: Rework of fix from #170 - abs path handling for import/run
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Jul 7, 2024
1 parent 97899b2 commit e8138ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ambuild2/frontend/v2_2/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def computeScriptPaths(self, parent, target):
sourceFolder = ''
buildFolder = ''

return sourceFolder, buildFolder, os.path.join(sourceFolder, name)
return sourceFolder, buildFolder, target if os.path.isabs(target) else os.path.join(sourceFolder, name)

def getLocalFolder(self, context):
return context.buildFolder
Expand Down

0 comments on commit e8138ee

Please sign in to comment.