From 6f9aaeab80e601b45b60bd1ca78f5e8fd2f49605 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sun, 20 Nov 2022 18:20:10 +0900 Subject: update README: use patch instead of git apply --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6378c61..37cc8c2 100644 --- a/README.md +++ b/README.md @@ -51,16 +51,15 @@ Currently macOS and Linux (Ubuntu, CentOS, Rocky) are supported. git clone https://github.com/upa/mscp.git cd mscp -# 2. install build dependency -bash ./scripts/install-build-deps.sh - -# 3. prepare patched libssh +# 2. prepare patched libssh git submodule init 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 -cd .. mkdir build && mv build cmake .. -- cgit v1.2.3