From 0ab432cf4e623b3bb26b24795cea9c42cf2b4a3e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 06 Dec 2014 17:59:15 -0500 Subject: bootstrap-prepare.sh: Only get some packages --- (limited to 'bootstrap-prepare.sh') diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh index 12fa6c4..78b6abb 100755 --- a/bootstrap-prepare.sh +++ b/bootstrap-prepare.sh @@ -201,6 +201,8 @@ get_pkg() pkg_ver="${filename##*/src-}" pkg_ver="${pkg_ver%_src_all.opk}" + grep "^${pkg_ver%_*}\$" "${SCRIPT_DIR}/bootstrap-pkgs.txt" \ + >/dev/null 2>&1 || return [ -d "pkg/${pkg_ver%_*}" ] && return [ -d pkg ] || mkdir pkg -- cgit v0.9.1