7 case "${system_name}" in
9 bundle_dir="$(cygpath --unix "${bundle_dir}")"
10 exe_file="$(cygpath --unix "${exe_file}")"
11 ntldd --recursive "${exe_file}" \
12 | egrep -i '\.dll => [A-Z]:\\msys64\\' \
13 | sed -e 's/ (0x[0-9a-f]*)$//;s/^.* => //' \
14 | cygpath --unix --file - \
17 dll_basename="$(basename "${dll_file}")"
18 cp -n --preserve=timestamps "${dll_file}" "${bundle_dir}/${dll_basename}"
22 printf 'ERROR: unsupported system: %s\n' "${system_name}" >&2