Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

Commit

Permalink
Fix translation to Windows paths; CodeLite expects Unix path separators.
Browse files Browse the repository at this point in the history
  • Loading branch information
TurkeyMan committed Apr 15, 2016
1 parent bb078ad commit 7a76f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codelite_workspace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

-- Build a relative path from the workspace file to the project file
local prjpath = p.filename(prj, ".project")
prjpath = path.translate(path.getrelative(prj.workspace.location, prjpath))
prjpath = path.getrelative(prj.workspace.location, prjpath)

local active = iif(prj.name == wks.startproject, ' Active="Yes"', '')
_x(1, '<Project Name="%s" Path="%s"%s/>', prj.name, prjpath, active)
Expand Down

0 comments on commit 7a76f05

Please sign in to comment.