Commit 251b2fa9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

print_*req: use only start line field

parent 53f487cf
......@@ -53,13 +53,13 @@ clean_pkgreq()
# Print list of all build requires in ALT notation
print_buildreq()
{
eval_spec ${1} | grep "Build.*Req" | sed -e "s|^.*:||g" | clean_pkgreq
eval_spec ${1} | grep "^Build.*Req" | sed -e "s|^.*:||g" | clean_pkgreq
}
# Print list of all pkg requires
print_pkgreq()
{
eval_spec ${1} | grep "Requires" | sed -e "s|^.*:||g" | clean_pkgreq
eval_spec ${1} | grep "^Requires" | sed -e "s|^.*:||g" | clean_pkgreq
}
# internal
......
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