summaryrefslogtreecommitdiff
path: root/packaging/kdbus.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/kdbus.spec')
-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