Commit c23fefe2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix check for empty args

parent 78bbdcb2
......@@ -21,7 +21,7 @@ load_helper epm-query
__epm_changelog_files()
{
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
apt-rpm|yum-rpm|zypper-rpm|urpm-rpm)
......@@ -39,7 +39,7 @@ __epm_changelog_files()
__epm_changelog_local_names()
{
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
apt-rpm|yum-rpm|urpm-rpm|zypper-rpm)
......@@ -63,7 +63,7 @@ __epm_changelog_local_names()
__epm_changelog_unlocal_names()
{
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
#apt-rpm)
......
......@@ -23,7 +23,7 @@ __epm_filelist_file()
{
local CMD
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
apt-rpm|yum-rpm|urpm-rpm|zypper-rpm)
......@@ -44,7 +44,7 @@ __epm_filelist_name()
{
local CMD
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
apt-rpm)
......
......@@ -37,7 +37,7 @@ __epm_query_file()
{
local CMD
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
apt-rpm|yum-rpm|urpm-rpm|zypper-rpm)
......@@ -62,7 +62,7 @@ __epm_query_name()
{
local CMD
[ -z "$@" ] && return
[ -z "$*" ] && return
case $PMTYPE in
apt-rpm|yum-rpm|urpm-rpm|zypper-rpm)
......
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