[OS-BUILD PATCH 2/2] redhat/Makefile.common: fix RPMKSUBLEVEL condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ondrej Mosnacek <omosnace@xxxxxxxxxx>

Either both sides need to be quoted or neither, otherwise the condition
won't work as intended.

Fixes: efa3fc15df53 ("Correctly name tarball for single tarball builds")
Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
---
 redhat/Makefile.common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/redhat/Makefile.common b/redhat/Makefile.common
index d980847aacc7..e7fb532874e3 100644
--- a/redhat/Makefile.common
+++ b/redhat/Makefile.common
@@ -20,7 +20,7 @@ ifneq ($(RPMKEXTRAVERSION),)
   PREBUILD:=0$(KEXTRAVERSION).
   UPSTREAM_TARBALL_NAME:=$(RPMKVERSION).$(RPMKPATCHLEVEL)$(RPMKEXTRAVERSION)
 else
-  ifeq ($(RPMKSUBLEVEL),"0")
+  ifeq ($(RPMKSUBLEVEL),0)
     UPSTREAM_TARBALL_NAME:=$(RPMKVERSION).$(RPMKPATCHLEVEL)
   else
     UPSTREAM_TARBALL_NAME:=$(RPMKVERSION).$(RPMKPATCHLEVEL).$(RPMKSUBLEVEL)
-- 
2.27.0
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux