Commit 9c3a9f50 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: fix remove_dir

parent 18ad06ef
...@@ -17,7 +17,10 @@ remove_dir() ...@@ -17,7 +17,10 @@ remove_dir()
[ -n "$file" ] || return [ -n "$file" ] || return
[ -d "$BUILDROOT$file/" ] || return [ -d "$BUILDROOT$file/" ] || return
echo "Removeing $file dir ..." # canonicalize
file="$(echo "$file" | sed -e 's|/*$||')"
echo "Removing $file dir ..."
rm -r "$BUILDROOT$file/" rm -r "$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