mirror of
https://github.com/upa/mscp.git
synced 2026-03-01 20:44:41 +08:00
update README: use patch instead of git apply
This commit is contained in:
11
README.md
11
README.md
@@ -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 ..
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user