3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4 source $DIR/package-list.sh
6 if [ -d $RPM_WORKDIR/RPMS/x86_64 ]
8 ls $RPM_WORKDIR/RPMS/x86_64 > list_of_gen_pack
10 echo "Can't access folder $RPM_WORKDIR with rpm packages"
14 for PACKAGENAME in `cat $DIR/rpms_list`
16 if ! grep -q $PACKAGENAME list_of_gen_pack
18 echo "$PACKAGENAME is missing"