|
|
@ -69,7 +69,7 @@ function search_module()
|
|
|
|
MODULE_FOUND="n"
|
|
|
|
MODULE_FOUND="n"
|
|
|
|
|
|
|
|
|
|
|
|
# Search in GIT repository
|
|
|
|
# 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
|
|
|
|
if [ "$LOC_MATCH" != "" -a "`echo $LOC_MATCH | wc -l`" = "1" ]; then
|
|
|
|
# Unique module found in GIT
|
|
|
|
# Unique module found in GIT
|
|
|
|
MODULE_FOUND="y"
|
|
|
|
MODULE_FOUND="y"
|
|
|
|