diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-31 15:19:52 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-31 15:19:52 +0200 |
commit | 2e0651a4b6da1bbae8f9556bab2d9330988b1dc8 (patch) | |
tree | 392ece8472cdc04524ec117bd3129256379ea2f8 /redis.sh | |
parent | 7578e353de1cde367e7fd08235e23b6e499c1197 (diff) |
all
Diffstat (limited to 'redis.sh')
-rwxr-xr-x | redis.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -41,12 +41,11 @@ else fi if ! $REDIS_DONE; then - echo "Need root password: " echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf >>$LOG 2>&1 cd $PREFIX URI="http://redis.googlecode.com/files/redis-$REDIS_VER.tar.gz" - cmd="$WGET -O - $URI" && run_cmd "$cmd" "Download" + cmd="$WGET $URI" && run_cmd "$cmd" "Download" cmd="tar zxf redis-$REDIS_VER.tar.gz" && run_cmd "$cmd" "Unpack" cd redis-$REDIS_VER >>$LOG 2>&1 cmd="make" && run_cmd "$cmd" "Make" |