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

compile_pkgs: fix repo_checkout for branch feed

When branch is provided to feed with `;` we should also replace that
with exact hash.
parent 2268ea5a
Branches
Tags
No related merge requests found
......@@ -287,7 +287,7 @@ repo_checkout() {
if [ -z "$githash" ]; then
echo "$line" >> feeds.conf
else
echo "$line" | sed "s/\^.*$//;s/$/\^$githash/" >> feeds.conf
echo "$line" | sed "s/[;^].*$//;s/$/\^$githash/" >> feeds.conf
fi
done < "$src_dir/feeds.conf"
}
......
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