Commit 68ee1db9 authored by Julian's avatar Julian Committed by Matthias Schiffer
Browse files

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

$VERSION_ID is a lowercase value
parent ccd5c39e
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment