diff --git a/scripts/create_sig.sh b/scripts/create_sig.sh index 49d7cd8..206c8f4 100755 --- a/scripts/create_sig.sh +++ b/scripts/create_sig.sh @@ -161,9 +161,9 @@ do $KOJI add-tag-inheritance --priority 5 $R_SIG-$TAG-build buildsys${DIST} $KOJI add-tag-inheritance --priority 10 $R_SIG-$TAG-build $R_SIG-candidate # If -common exists for the project add it - $KOJI list-tags | grep $P_SIG-common-candidate &> /dev/null if [ "x$RELEASE" != "xcommon" ] then + $KOJI list-tags | grep $P_SIG-common-candidate &> /dev/null [ $? -gt 0 ] && echo "Adding $P_SIG-common-candidate as inheritance" && $KOJI add-tag-inheritance --priority 15 $R_SIG-$TAG-build $P_SIG-common-candidate fi $KOJI list-tagged buildsys${DIST} | grep buildsys-macros-$REALTAG &> /dev/null