Commit 188ad581 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files Fix RE matching for getDownloadLink()

Signed-off-by: default avatarDiego Pasqualin <>
parent c7d9fdb6
......@@ -73,7 +73,9 @@ function askInclude() {
function getDownloadLink() {
local pkg=$1
local link=$(grep -m1 "Filename:.*${pkg}.*" $FROMREPOFILE | awk '{print $2}')
local link=""
link=$(grep -m1 "Filename:.*${pkg}/${pkg}_" $FROMREPOFILE | awk '{print $2}')
echo "$HOST/$link"
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