mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +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
|
||||
command('script/licensed')
|
||||
else
|
||||
repo_new = File.absolute_path(repo_new)
|
||||
command('script/licensed', '--module', repo_new)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user