scripts/create_addon: add support for PKG_ADDON_REPOVERSION

we now use multi-repos. no addon should be build and uploaed
if it doesnt match the repo it is targeted for
This commit is contained in:
Stefan Saraev 2015-04-25 18:51:43 +03:00
parent 787e6ba6fb
commit 2e1595d14a

View File

@ -37,7 +37,7 @@ if [ -n "$PKG_ADDON_PROJECTS" -a ! "$PKG_ADDON_PROJECTS" = "any" ]; then
fi
done
if [ ! "$PROJECT_SUPPORTED" = "yes" ] ; then
echo "*** ERROR: $PKG_ADDON_ID: '$PROJECT' not supported ***"
echo "*** ERROR: $PKG_ADDON_ID: '$PKG_ADDON_REPOVERSION' not supported ***"
exit 0
fi
fi