summaryrefslogtreecommitdiff
path: root/redis.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 15:19:52 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 15:19:52 +0200
commit2e0651a4b6da1bbae8f9556bab2d9330988b1dc8 (patch)
tree392ece8472cdc04524ec117bd3129256379ea2f8 /redis.sh
parent7578e353de1cde367e7fd08235e23b6e499c1197 (diff)
all
Diffstat (limited to 'redis.sh')
-rwxr-xr-xredis.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/redis.sh b/redis.sh
index 3781b7a..f8ba1d0 100755
--- a/redis.sh
+++ b/redis.sh
@@ -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"