소스 검색

Sort built-in patches by its name

pull/101/merge
Yamashita Yuu 10 년 전
부모
커밋
2cea06b88a
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      plugins/python-build/bin/python-build

+ 5
- 1
plugins/python-build/bin/python-build 파일 보기

@ -709,7 +709,11 @@ before_install_package_patch() {
ORIG_HAS_PATCH="$HAS_PATCH"
# Apply built-in patches if patch was not given from stdin
if [ -z "$HAS_PATCH" ] && [ -d "${package_patch_path}" ]; then
( cat "${package_patch_path}"/* || true ) 2>/dev/null 1>"${package_name}.patch"
local patch
{ for patch in "${package_patch_path}"/*; do
[ -f "${patch}" ] && echo "${patch}"
done
} | sort | xargs cat -- 1>"${package_name}.patch"
exec <&-
exec <"${package_name}.patch"
HAS_PATCH=true

불러오는 중...
취소
저장