mirror of https://github.com/armbian/build.git
mk_format_patch: fix shellcheck SC2045 (error)
This commit is contained in:
parent
641025e1a4
commit
c4d458e2c6
|
|
@ -214,7 +214,7 @@ then
|
|||
|
||||
# Remove non-existent patches if they have been renamed or are no longer applied.
|
||||
$(cd $target
|
||||
for pt in $(ls)
|
||||
for pt in ./*.patch
|
||||
do
|
||||
if test ! -f $tmp_dir/$target_name/$pt;then rm $pt;fi
|
||||
done
|
||||
|
|
@ -222,7 +222,7 @@ then
|
|||
|
||||
# Intelligent copying
|
||||
$(cd $tmp_dir/$target_name
|
||||
for pt in $(ls)
|
||||
for pt in ./*.patch
|
||||
do
|
||||
ii_cp $pt $target/$pt
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue