update README: use patch instead of git apply

This commit is contained in:
Ryo Nakamura
2022-11-20 18:20:10 +09:00
parent fc2d34eaee
commit 6f9aaeab80

View File

@@ -51,16 +51,15 @@ Currently macOS and Linux (Ubuntu, CentOS, Rocky) are supported.
git clone https://github.com/upa/mscp.git git clone https://github.com/upa/mscp.git
cd mscp cd mscp
# 2. install build dependency # 2. prepare patched libssh
bash ./scripts/install-build-deps.sh
# 3. prepare patched libssh
git submodule init git submodule init
git submodule update git submodule update
cd libssh && git apply ../patch/libssh-0.10.4.patch patch -d libssh -p1 < patch/libssh-0.10.4.patch
# 3. install build dependency
bash ./scripts/install-build-deps.sh
# 4. configure mscp # 4. configure mscp
cd ..
mkdir build && mv build mkdir build && mv build
cmake .. cmake ..