Commit fc1577c9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: fix remove_file

parent b44ac857
......@@ -4,9 +4,9 @@
remove_file()
{
local file="$1"
[ -e "$BUILDROOT/$file" ] || return
[ -e "$BUILDROOT$file" ] || [ -L "$BUILDROOT$file" ] || return
rm -v "$BUILDROOT/$file"
rm -v "$BUILDROOT$file"
subst "s|.*$file.*||" $SPEC
}
......
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