mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 22:25:45 +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
|
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user