Commit a3cc8553 authored by Baudouin Feildel's avatar Baudouin Feildel
Browse files

Fix get_current_version

When some packages share the same base name the get_current_version may return multiple version number which is an error.
parent 9e6b7ece
Pipeline #449 passed with stages
in 7 minutes and 18 seconds
......@@ -179,7 +179,7 @@ get_current_version()
popd > /dev/null
fi
grep "$1" "$SRCDIR/current-repo/current" | cut -f 2
grep -P "^$1\t" "$SRCDIR/current-repo/current" | cut -f 2
}
get_aur_version()
......
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