From a769db86488e8b87865c9a1adbca2f0f6ddf3294 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 8 May 2017 10:26:19 +0000 Subject: [PATCH] list-cvs-files.sh: Fix git submodule recursion Signed-off-by: Jan Lindemann --- scripts/list-cvs-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/list-cvs-files.sh b/scripts/list-cvs-files.sh index 3cf053d2..99a26464 100644 --- a/scripts/list-cvs-files.sh +++ b/scripts/list-cvs-files.sh @@ -46,7 +46,7 @@ list_dirents_cvs() list_dirents_git() { git ls-files $git_ls_files_opts $1 - [ "$opt_no_submodules" = 1 ] || git submodule foreach "git ls-files $git_ls_files_opts | sed 's|^|\$path/|'" + [ "$opt_no_submodules" = 1 ] || git submodule foreach "git ls-files $git_ls_files_opts | sed \"s|^|\$path/|\"" } list_dirents()