summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-13 19:03:02 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-13 19:03:02 +0200
commit75e8c38144d547d61e547b9147d6dd8221a52d28 (patch)
treec1deb3625b52c89c9b2aeb61637408ee08d33bf4 /support-files
parentf6a741f45426efd1f3bbe63e18e58ac0936f9851 (diff)
downloadmariadb-git-75e8c38144d547d61e547b9147d6dd8221a52d28.tar.gz
try to fix
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 3b61176a1fe..b00da5a1342 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -671,7 +671,7 @@ fi
%doc %attr(644, root, root) %{_infodir}/mysql.info*
-%if %{fileexists %{_mandir}/man1/innochecksum.1*}
+%if %{fileexists $RPM_BUILD_ROOT%{_mandir}/man1/innochecksum.1*}
%doc %attr(644, root, man) %{_mandir}/man1/innochecksum.1*
%endif
%doc %attr(644, root, man) %{_mandir}/man1/my_print_defaults.1*
@@ -703,7 +703,7 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
-%if %{fileexists %{_bindir}/innochecksum}
+%if %{fileexists $RPM_BUILD_ROOT%{_bindir}/innochecksum}
%attr(755, root, root) %{_bindir}/innochecksum
%endif
%attr(755, root, root) %{_bindir}/my_print_defaults