Allow for some path information in values to filename()

Not complete, should split out the path and add to location(), but at least absorbs leading "../" sequences
This commit is contained in:
Jason Perkins 2014-10-29 16:52:07 -04:00
parent a972ab8009
commit bf00eaae80

View File

@ -191,7 +191,7 @@ function premake.filename(obj, ext)
fname = fname .. ext
end
end
return fname
return path.getabsolute(fname)
end