mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-12 11:00:04 +01:00
IOP: update_package: only scan in the build directory that is currently in use.
This commit is contained in:
parent
ca22f0e22e
commit
92b29dad02
1 changed files with 6 additions and 2 deletions
|
|
@ -399,9 +399,13 @@ check_packages()
|
|||
echo "Now checking if any changes has been done to the packages."
|
||||
echo -e "${Green}_______________________________________________________________________________${Color_Off}"
|
||||
|
||||
# only scan in the build directory that is currently in use.
|
||||
CPU=$(grep "CONFIG_CPU_TYPE=" .config| cut -f2 -d\")
|
||||
LIBC=$(grep "CONFIG_LIBC=" .config| cut -f2 -d\")
|
||||
|
||||
# First scan all files in build dir for packages that have .git directories.
|
||||
all_pkgs=$(find build_dir/ -name ".git")
|
||||
|
||||
all_pkgs=$(find build_dir/*${CPU}*${LIBC}* -name ".git")
|
||||
|
||||
for pkg in `echo "$all_pkgs"`
|
||||
do
|
||||
pkg=$(dirname $pkg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue