diff options
-rwxr-xr-x | bootstrap-prepare.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh index 6b1efbc..72fd47d 100755 --- a/bootstrap-prepare.sh +++ b/bootstrap-prepare.sh @@ -75,15 +75,17 @@ prepare_packages_from_git() { local pkgs_list repo branch patch - [ -d pkg ] || mkdir pkg - cd pkg - if [ -e "${SCRIPT_DIR}/bootstrap-pkgs-git_${ARCH}.txt" ]; then pkgs_list="${SCRIPT_DIR}/bootstrap-pkgs-git_${ARCH}.txt" - else + elif [ -e "${SCRIPT_DIR}/bootstrap-pkgs-git.txt" ]; then pkgs_list="${SCRIPT_DIR}/bootstrap-pkgs-git.txt" + else + return 0 fi + [ -d pkg ] || mkdir pkg + cd pkg + while read repo branch; do if [ -f "${repo##*/}_"*'_src_all.changes' ]; then continue |