Skip to content

Commit

Permalink
src/winusb: Rename copy_file_with_progress_report for better understa…
Browse files Browse the repository at this point in the history
…nding

Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 7, 2017
1 parent 748e6ee commit 411ec78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ copy_filesystem_files(){
if [ "${source_file_size}" -lt "${DD_BLOCK_SIZE}" ]; then
cp "${source_file}" "${dest_file}"
else
copy_file\
copy_file_with_progress_report\
"${source_file}"\
"${dest_file}"\
"${copied_size}"\
Expand Down Expand Up @@ -699,7 +699,7 @@ copy_filesystem_files(){
## Companion function of copy_filesystem_files for copying large files
## Copy source_file to dest_file, overwrite file if dest_file exists
## Also report copy_filesystem_files progress during operation
copy_file(){
copy_file_with_progress_report(){
util_check_function_parameters_quantity 4 "${#}"
local -r source_file="${1}"; shift
local -r dest_file="${1}"; shift
Expand Down Expand Up @@ -743,7 +743,7 @@ copy_file(){
done; unset i copied_size_total percentage

return 0
}; declare -fr copy_file
}; declare -fr copy_file_with_progress_report

## As Windows 7's installation media doesn't place the required EFI
## bootloaders in the right location, we extract them from the
Expand Down

0 comments on commit 411ec78

Please sign in to comment.