mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Rakefile: Fixed broken copy in install_app
Seems like File.copy doesn't do directories (as source, that is), only files (as far as I can tell from reading the docs and trying it in irb, punch me if I'm wrong). It only creates a zero byte file in the target directory on my system. Replaced File.copy with a system call to 'cp -R ...' to do the job. Seems like FileUtils could have done it just as well (with cp_r), but I figured making a system call was better than introducing a new dependency.
This commit is contained in:
committed by
Pieter de Bie
parent
0852f6326c
commit
41154efa15
Reference in New Issue
Block a user