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

compile_pkgs: fix mirror_feeds when branch is used

parent cd51877c
Branches
Tags
No related merge requests found
......@@ -335,7 +335,7 @@ mirror_feeds() {
pushd "$GIT_MIRROR" >/dev/null
cat "$src_dir"/feeds.conf "$build_dir"/feeds.conf 2> /dev/null | while read -r vcs name url rest; do
if [ "$vcs" = src-git ] && [ ! -d "$GIT_MIRROR/$name" ]; then
git clone --mirror "${url%^*}" "$name"
git clone --mirror "${url%[;^]*}" "$name"
fi
done
popd >/dev/null
......
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