From 6558fb224020a057183c5f57f2c2a281642e57d0 Mon Sep 17 00:00:00 2001 From: Thomas Oulevey Date: Apr 06 2015 13:35:26 +0000 Subject: - Fix -common inheritance on buildroot ; not to be added if it creates itself. --- 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