File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,14 +212,10 @@ success='true'
212212for d in ${modulesDirPath} /* / ; do
213213 packageModuleDirPath=$d
214214 packageModuleDirName=" $( basename $d ) "
215-
216- # Bad assumption: A module's ID is same as the name of folder in which it lives.
217- # packageModuleId=$packageModuleDirName
218-
219215 packageModuleId=$( getModuleIdFromModuleSettings " ${packageModuleDirPath} /modulesettings.json" )
220- if [ " ${packageModuleId} " == " " ]; then continue ; fi
221- # echo "packageModuleId = ${packageModuleId}"
222216
217+ if [ " ${packageModuleId} " == " " ]; then continue ; fi
218+
223219 doModulePackage " $packageModuleId " " $packageModuleDirName " " $packageModuleDirPath "
224220done
225221
@@ -228,14 +224,10 @@ for d in ${externalModulesDirPath}/*/ ; do
228224 packageModuleDirName=" $( basename $d ) "
229225 packageModuleDirPath=$d
230226
231- # Bad assumption: A module's ID is same as the name of folder in which it lives.
232- # packageModuleId=$packageModuleDirName
233-
234227 packageModuleId=$( getModuleIdFromModuleSettings " ${packageModuleDirPath} /modulesettings.json" )
235228 if [ " ${packageModuleId} " == " " ]; then continue ; fi
236- # echo "packageModuleId = ${packageModuleId}"
237229
238- # doModulePackage "$packageModuleId" "$packageModuleDirName" "$packageModuleDirPath"
230+ doModulePackage " $packageModuleId " " $packageModuleDirName " " $packageModuleDirPath "
239231done
240232
241233
You can’t perform that action at this time.
0 commit comments