diff --git a/redis.sh b/redis.sh index f5d86113..0e3888de 100644 --- a/redis.sh +++ b/redis.sh @@ -1,14 +1,14 @@ -if [ -e redis-stable ]; -then - echo "redis already installed." -else - echo "installing redis" - curl -O http://download.redis.io/redis-stable.tar.gz - tar xvzf redis-stable.tar.gz - cd redis-stable - make - echo "redis installed" - cd .. -fi -cd redis-stable -src/redis-server \ No newline at end of file +if [ -e ./redis-stable ]; +then + echo "redis already installed." +else + echo "installing redis" + curl -O http://download.redis.io/redis-stable.tar.gz + tar xvzf redis-stable.tar.gz + cd redis-stable + make + echo "redis installed" + cd .. +fi +cd ./redis-stable +./src/redis-server \ No newline at end of file