gluon-core: fix pattern %v in opkg URLs (#1594)

$VERSION_ID is a lowercase value
This commit is contained in:
Julian 2018-12-02 16:59:06 +01:00 committed by Matthias Schiffer
parent ccd5c39e12
commit 68ee1db91e

View File

@ -16,7 +16,7 @@ local subst = {}
local f = io.popen('. /etc/os-release; echo "$ID"; echo "$VERSION_ID"; echo "$LEDE_BOARD"; echo "$LEDE_ARCH"')
subst['%%d'] = f:read()
subst['%%v'] = f:read():gsub('-SNAPSHOT', '')
subst['%%v'] = f:read():gsub('-snapshot', '')
subst['%%S'] = f:read()
subst['%%A'] = f:read()
f:close()