Commit 07a9e752 authored by Vitaly Lipatov's avatar Vitaly Lipatov

use estrlist isempty

parent 37c68a13
...@@ -72,7 +72,7 @@ if [ -n "$PRINTBINPKG" ] ; then ...@@ -72,7 +72,7 @@ if [ -n "$PRINTBINPKG" ] ; then
BINPACKAGES="$BINPACKAGES $($EPMCMD print binpkgfilelist $RPMHASHERDIR $i)" BINPACKAGES="$BINPACKAGES $($EPMCMD print binpkgfilelist $RPMHASHERDIR $i)"
done done
test -n "$BINPACKAGES" || fatal "Can't find any binary packages for $LISTNAMES in $(ls -l $RPMHASHERDIR)" estrlist isempty "$BINPACKAGES" && fatal "Can't find any binary packages for $LISTNAMES in $(ls -l $RPMHASHERDIR)"
echo "$BINPACKAGES" echo "$BINPACKAGES"
exit exit
fi fi
......
...@@ -100,6 +100,8 @@ fi ...@@ -100,6 +100,8 @@ fi
if [ "$RESULT" = "0" ] && [ -n "$INSTALLPKG" ] ; then if [ "$RESULT" = "0" ] && [ -n "$INSTALLPKG" ] ; then
BINPACKAGES=$($ETERBUILDBIN/myhsh $MENVARG -b $LISTBUILT | estrlist reg_exclude debuginfo -) || fatal "Can't get binary packages for $LISTBUILT" BINPACKAGES=$($ETERBUILDBIN/myhsh $MENVARG -b $LISTBUILT | estrlist reg_exclude debuginfo -) || fatal "Can't get binary packages for $LISTBUILT"
estrlist isempty "$BINPACKAGES" && fatal "There is no binary packages after build"
echo echo
echog "List of binary packages:" echog "List of binary packages:"
print_list $BINPACKAGES print_list $BINPACKAGES
......
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