Commit caab27b7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: fix pack_dir

parent 2789c03a
...@@ -15,10 +15,12 @@ remove_dir() ...@@ -15,10 +15,12 @@ remove_dir()
{ {
local file="$1" local file="$1"
[ -n "$file" ] || return [ -n "$file" ] || return
[ -d "$BUILDROOT$file" ] || return [ -d "$BUILDROOT$file/" ] || return
rm -rv "$BUILDROOT$file" rm -rv "$BUILDROOT$file/"
subst "s|.*$file.*||" $SPEC subst "s|.*$file/.*||" $SPEC
subst "s|.*$file\"$||" $SPEC
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