Commit abf9a07b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: fix pack_dir

parent 8cda3c43
......@@ -43,8 +43,8 @@ pack_dir()
{
local file="$1"
[ -n "$file" ] || return
grep -q "^%dir[[:space:]]$file$" $SPEC && return
grep -q "^%dir[[:space:]]\"$file\"$" $SPEC && return
grep -q "^%dir[[:space:]]$file/*$" $SPEC && return
grep -q "^%dir[[:space:]]\"$file/*\"$" $SPEC && return
subst "s|%files|%files\n%dir $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