summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-11-20 18:20:10 +0900
committerRyo Nakamura <upa@haeena.net>2022-11-20 18:20:10 +0900
commit6f9aaeab80e601b45b60bd1ca78f5e8fd2f49605 (patch)
tree35b522073f90a3b57d7e8b05894b1f2c8cbd5fad /README.md
parentfc2d34eaeefc2ba96bb3e7eb8e1c7ac7982ffeab (diff)
update README: use patch instead of git apply
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files 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 ..