mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
David Oberhollenzer
491d09f544
This commit merges LINUXPKG and RELEASEPKG into a single associative array named PREFERED_PROVIDER. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
27 lines
500 B
Bash
Executable file
27 lines
500 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
SCRIPTDIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
|
|
|
# dummy toolchain variables
|
|
PREFERED_PROVIDER[linux]="linux"
|
|
export LAYERCONF=""
|
|
|
|
# utilities
|
|
source "$SCRIPTDIR/util/version.sh"
|
|
source "$SCRIPTDIR/util/override.sh"
|
|
|
|
# check all packages
|
|
for pkg in $SCRIPTDIR/pkg/*; do
|
|
[ -d $pkg ] || continue;
|
|
|
|
name=$(basename $pkg)
|
|
echo "-- checking $name"
|
|
source "$pkg/build"
|
|
|
|
version=$(check_update)
|
|
if [ ! -z $version ]; then
|
|
echo "$name has newer version: $version"
|
|
fi
|
|
done
|