File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,7 @@ _usage () {
150150
151151 for _type in " locale" " kernel" ; do
152152 echo " ${_type} for each architecture:"
153- for _list in ${script_path} /system/${_type} -* ; do
154- _arch=" ${_list# ${script_path} / system/ ${_type} -} "
153+ for _arch in $( find " ${script_path} /system/" -maxdepth 1 -mindepth 1 -name " ${_type} -*" -print0 | xargs -I{} -0 basename {} | sed " s|${_type} -||g" ) ; do
155154 echo -n " ${_arch} $( echo_blank " $(( "${blank} " - 4 - "${# _arch} " )) " ) "
156155 " ${tools_dir} /${_type} .sh" -a " ${_arch} " show
157156 done
@@ -160,8 +159,7 @@ _usage () {
160159
161160 echo " Channel:"
162161 for _dirname in $( bash " ${tools_dir} /channel.sh" --version " ${alteriso_version} " -d -b -n show) ; do
163- echo -ne " ${_dirname% .add} "
164- echo_blank " $(( "${blank} " - 3 - "$(echo "${_dirname% .add} " | wc - m)" )) "
162+ echo -ne " ${_dirname% .add} $( echo_blank " $(( "${blank} " - 3 - "$(echo "${_dirname% .add} " | wc - m)" )) " ) "
165163 " ${tools_dir} /channel.sh" --version " ${alteriso_version} " --nocheck desc " ${_dirname% .add} "
166164 done
167165
You can’t perform that action at this time.
0 commit comments