From ce0051a42fe88e95d55a492c01c75c75739c25e1 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Mon, 13 Mar 2023 09:56:26 +0100 Subject: [PATCH] include submodules in the collected license metadata --- src/tools/collect-license-metadata/src/reuse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/collect-license-metadata/src/reuse.rs b/src/tools/collect-license-metadata/src/reuse.rs index d6b3772ba51..c6a1818ce0d 100644 --- a/src/tools/collect-license-metadata/src/reuse.rs +++ b/src/tools/collect-license-metadata/src/reuse.rs @@ -30,7 +30,7 @@ pub(crate) fn collect( fn obtain_spdx_document(reuse_exe: &Path) -> Result { let output = Command::new(reuse_exe) - .args(&["spdx", "--add-license-concluded", "--creator-person=bors"]) + .args(&["--include-submodules", "spdx", "--add-license-concluded", "--creator-person=bors"]) .stdout(Stdio::piped()) .spawn()? .wait_with_output()?;