mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
add-grammar: use abspath when caching license file
Fixes breakage caused by passing a relative dependency path to licensed.
This commit is contained in:
@@ -111,6 +111,7 @@ log "Confirming license"
|
|||||||
if repo_old
|
if repo_old
|
||||||
command('script/licensed')
|
command('script/licensed')
|
||||||
else
|
else
|
||||||
|
repo_new = File.absolute_path(repo_new)
|
||||||
command('script/licensed', '--module', repo_new)
|
command('script/licensed', '--module', repo_new)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user