Skip to content
Snippets Groups Projects
Verified Commit a358557d authored by Karel Koci's avatar Karel Koci :metal:
Browse files

compile_pkgs: fix local feeds setting with branch specification

parent f09cb685
Branches
Tags
No related merge requests found
......@@ -331,6 +331,7 @@ set_local_feeds() {
if [ "$vcs" = src-git ] && [ -d "$GIT_MIRROR/$name" ]; then
local branch=""
[[ "$url" != *^* ]] || branch="^${url#*^}"
[[ "$url" != *\;* ]] || branch=";${url#*;}"
echo "$vcs $name file://$GIT_MIRROR/$name$branch $rest"
else
echo "$vcs $name $url $rest"
......
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