convert to staged_path in git-annex

This commit is contained in:
Roland Walker 2014-11-12 19:14:12 -05:00
parent 6f15b10680
commit d365e32ad9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class GitAnnex < Cask
# This is a horrible hack to force the file extension. The
# backend code should be fixed so that this is not needed.
preflight do
system '/bin/mv', '--', destination_path.join('git-annex-latest'), destination_path.join('git-annex-latest.dmg')
system '/bin/mv', '--', staged_path.join('git-annex-latest'), destination_path.join('git-annex-latest.dmg')
end
container :nested => 'git-annex-latest.dmg'
else