Commit 2d2ae4e4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: skip add_requires and install_requires for empty args

parent c4311e8e
...@@ -260,11 +260,13 @@ fix_chrome_sandbox() ...@@ -260,11 +260,13 @@ fix_chrome_sandbox()
add_requires() add_requires()
{ {
[ -n "$1" ] || return
subst "1iRequires: $*" $SPEC subst "1iRequires: $*" $SPEC
} }
install_requires() install_requires()
{ {
[ -n "$1" ] || return
if [ "$(epm print info -s)" = "alt" ] ; then if [ "$(epm print info -s)" = "alt" ] ; then
epm install --skip-installed "$@" epm install --skip-installed "$@"
fi fi
......
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