Skip to content

Commit

Permalink
Allow microTVM Reference VM to be launched when TVM is a submodule. (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
areusch authored and trevor-m committed May 11, 2021
1 parent b933884 commit d7f0899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/microtvm/reference-vm/zephyr/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Vagrant.configure("2") do |config|
if git_file.ftype() == "file" then
gitdir_match = Regexp.new('^gitdir: (?<gitdir>.*/.git).*\n$', Regexp::MULTILINE).match(git_file.read())
if !gitdir_match.nil? then
dirs_to_mount.append(Pathname.new(gitdir_match.named_captures["gitdir"]))
dirs_to_mount.append(Pathname.new(tvm_home).realpath.join(gitdir_match.named_captures["gitdir"]))
puts "NOTE: also configuring git-worktree gitdir: %s" % [dirs_to_mount[-1]]
end
end
Expand Down

0 comments on commit d7f0899

Please sign in to comment.