Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Jun 4, 2023
1 parent 522a73a commit 50c0497
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions files/board/arpl/overlayfs/opt/arpl/include/modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ function getdepends() {
function _getdepends() {
if [ -f "${TMP_PATH}/modules/${1}.ko" ]; then
depends=(`modinfo "${TMP_PATH}/modules/${1}.ko" | grep depends: | awk -F: '{print $2}' | awk '$1=$1' | sed 's/,/ /g'`)
if [ ${#depends[*]} > 0 ]; then
for k in ${depends[@]}
do
if [ ${#depends[*]} -gt 0 ]; then
for k in ${depends[@]}; do
echo "${k}"
_getdepends "${k}"
done
Expand Down

0 comments on commit 50c0497

Please sign in to comment.