add-grammar: use abspath when caching license file

Fixes breakage caused by passing a relative dependency path to licensed.
This commit is contained in:
Alhadis
2018-04-09 14:06:43 +10:00
parent 13f83372a2
commit d2f2f91a89

View File

@@ -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