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.
|
# Remove non-existent patches if they have been renamed or are no longer applied.
|
||||||
$(cd $target
|
$(cd $target
|
||||||
for pt in $(ls)
|
for pt in ./*.patch
|
||||||
do
|
do
|
||||||
if test ! -f $tmp_dir/$target_name/$pt;then rm $pt;fi
|
if test ! -f $tmp_dir/$target_name/$pt;then rm $pt;fi
|
||||||
done
|
done
|
||||||
@ -222,7 +222,7 @@ then
|
|||||||
|
|
||||||
# Intelligent copying
|
# Intelligent copying
|
||||||
$(cd $tmp_dir/$target_name
|
$(cd $tmp_dir/$target_name
|
||||||
for pt in $(ls)
|
for pt in ./*.patch
|
||||||
do
|
do
|
||||||
ii_cp $pt $target/$pt
|
ii_cp $pt $target/$pt
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user