summaryrefslogtreecommitdiff
path: root/redis.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 10:41:34 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 10:41:34 +0200
commitd94a37976020ba9a142522b8da2a09a87577be6f (patch)
treeb43ef8f34358df1e132d8acbe321771491d1ea90 /redis.sh
parentac0179b4059bd702a67a8c386769f0579493786b (diff)
redis.sh
Diffstat (limited to 'redis.sh')
-rwxr-xr-xredis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.sh b/redis.sh
index f70fb8b..8c9a06c 100755
--- a/redis.sh
+++ b/redis.sh
@@ -44,7 +44,7 @@ if ! $REDIS_DONE; then
echo "Need root password: "
echo "vm.overcommit_memory = 1" | sudo tee -a /etc/sysctl.conf >>$LOG 2>&1
- cd $REDIS_DEST
+ cd $PREFIX
URI="http://redis.googlecode.com/files/redis-$REDIS_VER.tar.gz"
if ! $WGET -O - "$URI" 2>>$LOG | tar zxv >>$LOG 2>&1; then
printf "%25s%15s\n" "'Download'" "FAIL"