gluon-core: fix pattern %v in opkg URLs (#1594)
$VERSION_ID is a lowercase value
This commit is contained in:
parent
ccd5c39e12
commit
68ee1db91e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user