Commit e038ffe4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: forbid a few result packages for ordinal repack

parent 24ead778
......@@ -95,7 +95,7 @@ __prepare_source_package()
SUBGENERIC=''
if rhas "$alpkg" "\.(rpm|deb)$" ; then
# skip packing for supported: rpm and deb
# skip packing for supported directly: rpm and deb
return
fi
......@@ -113,6 +113,9 @@ __prepare_source_package()
__epm_pack_run_handler generic-tar "$pkg"
fi
# it is possible there are a few files, we don't support it
[ -s "$returntarname" ] || fatal "Can't read result from pack: '$returntarname' is not a readable file."
alpkg=$(basename $returntarname)
# FIXME: looks like a hack with current dir
if [ "$(pwd)" != "$(dirname "$returntarname")" ] ; then
......
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