diff --git a/install.sh b/install.sh index b1da84e..d1faf5a 100755 --- a/install.sh +++ b/install.sh @@ -48,13 +48,13 @@ apt install -y build-essential tcl pkg-config if [ ! -d "valkey" ]; then git clone https://github.com/valkey-io/valkey.git - chown -R $SUDO_USER valkey cd valkey git checkout 8.0 make -j 4 # Optionally, you can run the tests: # make test cd .. + chown -R $SUDO_USER valkey fi #--------------------- @@ -65,11 +65,11 @@ apt install -y git gcc g++ make cmake autoconf automake libtool python3 libssl-d if [ ! -d "kvrocks" ]; then git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks - chown -R $SUDO_USER kvrocks cd kvrocks git checkout 2.10 ./x.py build cd .. + chown -R $SUDO_USER kvrocks fi #---------------------