use `package_info` to detect packages

instead of `test`, `examples`, or `demo`
This commit is contained in:
Jane Tournois 2017-11-06 12:39:12 +01:00
parent 51d620c3a4
commit 092f81cc0a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ INDEX=0
i=0
for f in *
do
if [ -d "$f/examples/$f" ] || [ -d "$f/test/$f" ] || [ -d "$f/demo/$f" ]
if [ -d "$f/package_info/$f" ]
then
PACKAGES[$INDEX]+="$f "
i=$[i+1]