From f9a5fa4aa62ad3f14839621e8f593e189681d6e0 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 8 Apr 2013 10:31:23 -0400 Subject: [PATCH] wat (!= -ne) --- kernel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel.spec b/kernel.spec index d8aa09e5e..ccdcf2469 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1856,7 +1856,7 @@ find Documentation -type d | xargs chmod u+w # that will strip the signature off of the modules. %define __modsign_install_post \ - if [ "%{signmodules}" == "1" ]; then \ + if [ "%{signmodules}" -eq "1" ]; then \ if [ "%{with_pae}" -ne "0" ]; then \ %{modsign_cmd} signing_key.priv.sign.PAE signing_key.x509.sign.PAE $RPM_BUILD_ROOT/lib/modules/%{KVERREL}.PAE/ \ fi \ @@ -1866,7 +1866,7 @@ find Documentation -type d | xargs chmod u+w if [ "%{with_pae_debug}" -ne "0" ]; then \ %{modsign_cmd} signing_key.priv.sign.PAEdebug signing_key.x509.sign.PAEdebug $RPM_BUILD_ROOT/lib/modules/%{KVERREL}.PAEdebug/ \ fi \ - if [ "%{with_up}" != -ne "0" ]; then \ + if [ "%{with_up}" -ne "0" ]; then \ %{modsign_cmd} signing_key.priv.sign signing_key.x509.sign $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/ \ fi \ fi \