diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-08-05 11:44:52 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-08-05 11:44:52 +0200 |
commit | f1f580731b7872684a4bef8930cd2f468e2dc69a (patch) | |
tree | eceb4393227473c35757546f58eda32a8544b4cc /support/scripts/pkg-stats | |
parent | 0e8dafcb3e1ddb7935c1c8c305e7e5598be30315 (diff) | |
download | buildroot-novena-f1f580731b7872684a4bef8930cd2f468e2dc69a.tar.gz buildroot-novena-f1f580731b7872684a4bef8930cd2f468e2dc69a.zip |
pkg-stats: support <pkg>_LICENSE = lines with spaces
For alignement reasons, we sometimes add spaces between <pkg>_LICENSE
and the equal sign. Take this into account in pkg-stats.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts/pkg-stats')
-rwxr-xr-x | support/scripts/pkg-stats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index de73eeb27..a07af555e 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -155,7 +155,7 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do generic_packages=$(($generic_packages+1)) fi - if grep -qE "^${pkgvariable}_LICENSE =" $i ; then + if grep -qE "^${pkgvariable}_LICENSE[ ]*=" $i ; then packages_with_license=$(($packages_with_license+1)) license=1 else |