summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/build_module.sh
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-09-27 00:54:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-09-27 00:54:09 +0900
commit17442377f89f72ddaa011424eb6342b8e6106e73 (patch)
tree84195220d8f34a4fcf06484bb60a1220d8c2eb76 /debian/_buildscripts/local/build_module.sh
parent56000dfd7ffb211546f363e01f773aca38ed2635 (diff)
downloadtde-packaging-17442377f89f72ddaa011424eb6342b8e6106e73.tar.gz
tde-packaging-17442377f89f72ddaa011424eb6342b8e6106e73.zip
DEB build scripts: fixed bug in search for existing modules.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/build_module.sh')
-rwxr-xr-xdebian/_buildscripts/local/build_module.sh2
1 files changed, 1 insertions, 1 deletions
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"