소스 검색

Merge pull request #1248 from neersighted/ls-definitions

Use ls instead of find to list definitions
pull/1256/head
Yamashita, Yuu 7 년 전
committed by GitHub
부모
커밋
ec9fb5492b
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      plugins/python-build/bin/python-build

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

@ -1879,7 +1879,7 @@ usage() {
list_definitions() {
{ for DEFINITION_DIR in "${PYTHON_BUILD_DEFINITIONS[@]}"; do
[ -d "$DEFINITION_DIR" ] && find "$DEFINITION_DIR" -maxdepth 1 -type f -print0 | xargs -0 -n 1 basename 2>/dev/null
[ -d "$DEFINITION_DIR" ] && ls "$DEFINITION_DIR" | grep -xv patches
done
} | sort_versions | uniq
}

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