From 508ebb47e0ddb63d8520136ee4a56ca27793d69a Mon Sep 17 00:00:00 2001 From: Jordan Date: Sat, 25 Jul 2020 17:50:15 -0400 Subject: [PATCH] submodule update requires --init the first time --- doc/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/installation.md b/doc/installation.md index 0aff8993..a54525ee 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -47,7 +47,7 @@ To only get the source code and our provided rules (common), follow these steps: - `$ git clone https://github.com/fireeye/capa.git /local/path/to/src` (HTTPS) - `$ git clone git@github.com:fireeye/capa.git /local/path/to/src` (SSH) - `$ cd /local/path/to/src` -- `$ git submodule update rules` +- `$ git submodule update --init rules` ### 2. Install the local source code Use `pip` to install the source code in "editable" mode. This means that Python will load the capa module from the local directory rather than copying it to `site-packages` or `dist-packages`. This is good because it is easy to modify files and see the effects reflected immediately. But, be careful not to remove this directory unless uninstalling capa.