Commit 3442e1ea authored by Vitaly Lipatov's avatar Vitaly Lipatov

common.sh: fix remove_file

parent d99aa903
......@@ -4,9 +4,9 @@
remove_file()
{
local file="$1"
[ -f $BUILDROOT/$file ] || return
[ -e "$BUILDROOT/$file" ] || return
rm -fv $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