YADR can be installed to any directory and everything still works

This commit is contained in:
Kyle West
2012-01-25 02:04:37 -05:00
parent a658b815f5
commit 42104de0aa
9 changed files with 41 additions and 40 deletions

View File

@@ -6,7 +6,7 @@ GitStyleBinary.command do
short_desc "Initialize all submodules. Run this every time you pull a new yadr version."
run do |command|
system("cd ~/.dotfiles && git submodule init && git submodule update")
`cd "#{$yadr}" && git submodule update --init`
end
end