Skip to content

Commit 47d084d

Browse files
committed
[update] : Added module check
1 parent 9294746 commit 47d084d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tools/pkglist.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,13 @@ while true; do
130130
esac
131131
done
132132

133-
modules=("${@}")
133+
for module in "${@}"; do
134+
if "${script_path}/tools/module.sh" check "${module}"; then
135+
modules=("${@}")
136+
else
137+
msg_debug "Module ${module} was not found"
138+
fi
139+
done
134140

135141
if [[ -z "${arch}" ]] || [[ "${arch}" = "" ]]; then
136142
msg_error "Architecture not specified"

0 commit comments

Comments
 (0)