doc: Fix README to update git submodules

The old instruction causes the following error:
```
$ git submodule foreach git pull
Entering 'bindings/python'
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

fatal: run_command returned non-zero status for bindings/python
.
```
This commit is contained in:
Hiroaki Nakamura
2025-12-28 06:41:35 +09:00
parent 4393ce8496
commit ac44a71d2b
2 changed files with 3 additions and 5 deletions

View File

@@ -217,7 +217,7 @@ the utilities, follow the commands listed below:
```shell ```shell
$ cd /path/to/your/ModSecurity $ cd /path/to/your/ModSecurity
$ git submodule foreach git pull $ git submodule update --init --recursive
$ make check $ make check
``` ```

View File

@@ -68,8 +68,7 @@ AC_MSG_ERROR([\
You can download libInjection using git: You can download libInjection using git:
$ git submodule init $ git submodule update --init --recursive
$ git submodule update
]) ])
fi fi
@@ -90,8 +89,7 @@ AC_MSG_ERROR([\
You can download Mbed TLS using git: You can download Mbed TLS using git:
$ git submodule init $ git submodule update --init --recursive
$ git submodule update
]) ])
fi fi