diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-08 04:40:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-08 15:50:07 +0300 |
commit | efe6e235c05c7ae37e0608f69cada7db38501355 (patch) | |
tree | 98768e1d5dc689c70b1deb12f0bfea076e45fe71 | |
parent | 1916e97724fb96cc1133a7a98861780d59b7ae95 (diff) | |
download | plus-1.2.1.8.tar.gz plus-1.2.1.8.tar.bz2 plus-1.2.1.8.tar.xz plus-1.2.1.8.zip |
Fix test script launching.v1.2.1.8
-rw-r--r-- | manaplus.spec.in | 3 | ||||
-rwxr-xr-x | manaplustest | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/manaplus.spec.in b/manaplus.spec.in index e7c323824..6e563af68 100644 --- a/manaplus.spec.in +++ b/manaplus.spec.in @@ -45,6 +45,8 @@ diverse interactive world. %install rm -rf %{buildroot} %makeinstall +mkdir -p %{buildroot}%{_bindir}/ +cp -p %{_builddir}/%{name}-%{version}/manaplustest %{buildroot}%{_bindir}/ %find_lang %{name} @@ -54,6 +56,7 @@ rm -rf %{buildroot} %files -f %{name}.lang %attr(-, root, root) %doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README %attr(0755, root, root) %{_bindir}/%{name} +%attr(0755, root, root) %{_bindir}/manaplustest %attr(-, root, root) %{_datadir}/%{name} %attr(-, root, root) %{_datadir}/pixmaps/%{name}.png %attr(-, root, root) %{_datadir}/applications/%{name}.desktop diff --git a/manaplustest b/manaplustest index 2c7d3bc08..12bdc2b8a 100755 --- a/manaplustest +++ b/manaplustest @@ -1,4 +1,5 @@ #!/bin/sh -cd /usr/games +cd $(dirname $(whereis -b manaplus|cut -d " " -f 2)) + manaplus --tests |