Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment