Home | History | Annotate | Download | only in mac

Lines Matching refs:new_file

128   local new_file="${2}"
132 if ! chmod -h "${mode}" "${new_file}"; then
136 if ! [[ -L "${new_file}" ]]; then
141 if ! touch -r "${patch_file}" "${new_file}"; then
150 local new_file="${3}"
158 if ! "${patcher}" "${old_file}" "${new_file}" "${patch_file}"; then
159 err "couldn't create ${new_file} by applying ${patch_file} to ${old_file}"
167 local new_file="${3}"
170 if ! "${decompressor}" -c < "${patch_file}" > "${new_file}"; then
171 err "couldn't decompress ${patch_file} to ${new_file} with ${decompressor}"
179 local new_file="${3}"
182 if ! cp "${patch_file}" "${new_file}"; then
190 local new_file="${3}"
220 new_file="${new_file:0:${#new_file} - ${strip_length}}"
222 if [[ -e "${new_file}" ]]; then
223 err "${new_file} already exists"
227 "${operation}" "${old_file}" "${patch_file}" "${new_file}" "${extra}"
229 copy_mode_and_time "${patch_file}" "${new_file}"
234 local new_file="${2}"
238 # ln -s "${target}" "${new_file}"
242 if ! rsync -lt "${patch_file}" "${new_file}"; then
246 copy_mode_and_time "${patch_file}" "${new_file}"
262 local new_file="${new_dir}/${file}"
264 if [[ -e "${new_file}" ]]; then
265 err "${new_file} already exists"
270 patch_symlink "${patch_file}" "${new_file}"
272 patch_dir "${old_file}" "${patch_file}" "${new_file}"
277 patch_file "${old_file}" "${patch_file}" "${new_file}"