mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
typo
This commit is contained in:
parent
4fc8e53bfa
commit
73fc7d0269
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user