mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-02 06:34:44 +03:00
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:
@@ -217,7 +217,7 @@ the utilities, follow the commands listed below:
|
||||
|
||||
```shell
|
||||
$ cd /path/to/your/ModSecurity
|
||||
$ git submodule foreach git pull
|
||||
$ git submodule update --init --recursive
|
||||
$ make check
|
||||
```
|
||||
|
||||
|
||||
@@ -68,8 +68,7 @@ AC_MSG_ERROR([\
|
||||
|
||||
You can download libInjection using git:
|
||||
|
||||
$ git submodule init
|
||||
$ git submodule update
|
||||
$ git submodule update --init --recursive
|
||||
|
||||
])
|
||||
fi
|
||||
@@ -90,8 +89,7 @@ AC_MSG_ERROR([\
|
||||
|
||||
You can download Mbed TLS using git:
|
||||
|
||||
$ git submodule init
|
||||
$ git submodule update
|
||||
$ git submodule update --init --recursive
|
||||
|
||||
])
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user