Skip to content

Commit 2222350

Browse files
chewbrancadefunkt
authored andcommitted
Fixing rake redis:install to work with new redis dir structure
Earlier today the directory structure of redis was changed so src files were moved into the src/ directory, along with the makefile. This version of the patch continues using the master branch, which is unstable. I'm creating another patch to use the 2.0.0 branch.
1 parent 7edae1e commit 2222350

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/redis.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ namespace :redis do
9393
end
9494

9595
%w(redis-benchmark redis-cli redis-server).each do |bin|
96-
sh "cp /tmp/redis/#{bin} #{bin_dir}"
96+
sh "cp /tmp/redis/src//#{bin} #{bin_dir}"
9797
end
9898

9999
puts "Installed redis-benchmark, redis-cli and redis-server to #{bin_dir}"
@@ -105,8 +105,8 @@ namespace :redis do
105105
end
106106

107107
task :make do
108-
sh "cd /tmp/redis && make clean"
109-
sh "cd /tmp/redis && make"
108+
sh "cd /tmp/redis/src && make clean"
109+
sh "cd /tmp/redis/src && make"
110110
end
111111

112112
desc "Download package"

0 commit comments

Comments
 (0)