summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2014-11-17 15:04:35 (GMT)
committerŁukasz Stelmach <l.stelmach@samsung.com>2014-11-19 12:33:47 (GMT)
commitc61b1bcc32203e2fafe4bd0527ef72b83e092b0d (patch)
treee8f85e6d1bd43383dbbfa14eae339bc1dbd4f304
parentfbc6e09ad29b2eac1b4ad4229cebd45c12d7301f (diff)
downloadkdbus-bus-sandbox/mwereski/kdbus-integration.zip
kdbus-bus-sandbox/mwereski/kdbus-integration.tar.gz
kdbus-bus-sandbox/mwereski/kdbus-integration.tar.bz2
spec: fix unifdef exit status detectionsandbox/mwereski/kdbus-integration
Change-Id: I6b6507d1fe362d0f8b91a07be2c9a3697c01edf6 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--packaging/kdbus.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/kdbus.spec b/packaging/kdbus.spec
index 7ee7d25..e81f8b0 100644
--- a/packaging/kdbus.spec
+++ b/packaging/kdbus.spec
@@ -49,7 +49,7 @@ make KERNELDIR=%{modprefix}/lib/modules/%{x_kernel_devel_uname_r}/build %{?_smp_
mkdir -p %{buildroot}%{modprefix}lib/modules/%{x_kernel_devel_uname_r}/extra
install -m644 kdbus.ko %{buildroot}%{modprefix}/lib/modules/%{x_kernel_devel_uname_r}/extra/
install -m755 -d %{buildroot}%{_includedir}
-[ $(unifdef -U__KERNEL__ kdbus.h > %{buildroot}%{_includedir}/kdbus.h) -gt 1 ] && { echo 'unifdef failed to process file'; exit 1; }
+[ $(unifdef -U__KERNEL__ kdbus.h > %{buildroot}%{_includedir}/kdbus.h; echo $?) -gt 1 ] && { echo 'unifdef failed to process file'; exit 1; }
%files kmod
%{modprefix}lib/modules/%{x_kernel_devel_uname_r}/extra/kdbus.ko