From 17442377f89f72ddaa011424eb6342b8e6106e73 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 27 Sep 2020 00:54:09 +0900 Subject: DEB build scripts: fixed bug in search for existing modules. Signed-off-by: Michele Calgaro --- debian/_buildscripts/local/build_module.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/_buildscripts') diff --git a/debian/_buildscripts/local/build_module.sh b/debian/_buildscripts/local/build_module.sh index d34324595..94a5acee1 100755 --- a/debian/_buildscripts/local/build_module.sh +++ b/debian/_buildscripts/local/build_module.sh @@ -69,7 +69,7 @@ function search_module() MODULE_FOUND="n" # Search in GIT repository - LOC_MATCH=`sed -n "s|^\[submodule \"main/\([^\"]*\)\"\]$|\1|p" <"$REPO_TDE/.gitmodules" | grep "/$LOC_MOD_NAME$"` + LOC_MATCH=`sed -n "s|^\[submodule \"main/\([^\"]*\)\"\]$|\1|p" <"$REPO_TDE/.gitmodules" | grep "$LOC_MOD_NAME$"` if [ "$LOC_MATCH" != "" -a "`echo $LOC_MATCH | wc -l`" = "1" ]; then # Unique module found in GIT MODULE_FOUND="y" -- cgit v1.2.1