options: fix addon path for projects with devices

This commit is contained in:
MilhouseVH 2017-09-26 05:55:43 +01:00
parent 6843ee6ddc
commit 2916cc2e89

View File

@ -189,7 +189,7 @@
ADDON_SERVER_URL="http://addons.libreelec.tv"
# set the addon dirs
ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
ADDON_PATH="$ADDON_VERSION/${DEVICE:-$PROJECT}/$TARGET_ARCH"
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
# Default size of system partition, in MB, eg. 512