gluon/scripts/modules.sh
Matthias Schiffer 8cfd64d2db Make module scripts use GLUONDIR and GLUON_SITEDIR
This fixes `make update` not working correctly when GLUON_SITEDIR is set
manually.
2015-01-11 09:48:31 +01:00

9 lines
219 B
Bash

. "$GLUONDIR"/modules
[ ! -f "$GLUON_SITEDIR"/site/modules ] || . "$GLUON_SITEDIR"/site/modules
GLUON_MODULES=openwrt
for feed in $GLUON_SITE_FEEDS $GLUON_FEEDS; do
GLUON_MODULES="$GLUON_MODULES packages/$feed"
done