mk_format_patch: fix shellcheck SC2045 (error)

This commit is contained in:
The-going 2024-07-05 14:43:49 +03:00 committed by Igor
parent 641025e1a4
commit c4d458e2c6
1 changed files with 2 additions and 2 deletions

View File

@ -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