Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
cp files based on directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Jackson and JT Archie committed Mar 31, 2015
1 parent 1d87541 commit ac287d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/integration/download_dependency_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def run_download_dependency
let(:md5) { Digest::MD5.file(original_url).hexdigest }

before do
base_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", ".."))
`cp -r #{base_dir}/compile-extensions #{buildpack_directory}/compile-extensions`
base_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", ".."))
`cp -a #{base_dir} #{buildpack_directory}/compile-extensions`
end

context 'filename is in the manifest' do
Expand Down

0 comments on commit ac287d4

Please sign in to comment.