From 530e977d9da8af1d711db3264f47f5be31a9fcfd Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 9 Aug 2021 12:18:55 +0200 Subject: [PATCH] README: fix git submodule update command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1f686e..63d6560 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ On windows, use git-bash for these commands. On Linux, these should work in your 1. Make sure you have all [prerequisites](#prerequisites) installed 2. Clone the repository in a location of your choice with **`git clone --recurse-submodules https://github.com/BeamMP/BeamMP-Server`**. Now change into the cloned directory by running `cd BeamMP-Server`. -3. Ensure that all submodules are initialized by running `git submodule init --update --recursive`. Then change into the cloned directory by running `cd BeamMP-Server`. +3. Ensure that all submodules are initialized by running `git submodule update --init --recursive`. Then change into the cloned directory by running `cd BeamMP-Server`. 4. Checkout the branch of the release you want to compile (`master` is often unstable), for example `git checkout tags/v1.20` for version 1.20. You can find the latest version [here](https://github.com/BeamMP/BeamMP-Server/tags). 5. Run `cmake .` (with `.`) 6. Run `make`