Commit d98dc89d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: implement file path support in filter_from_requires

parent 4e49f48d
......@@ -287,7 +287,8 @@ filter_from_requires()
{
local i
for i in "$@" ; do
subst "1i%filter_from_requires /^$i.*/d" $SPEC
local ti="$(echo "$i" | sed -e 's|^/|\\\\/|' -e 's|\([^\]\)/|\1\\\\/|g')"
subst "1i%filter_from_requires /^$ti.*/d" $SPEC
done
}
......
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