summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-22 23:09:59 +0800
committerruki <[email protected]>2020-09-22 23:09:59 +0800
commit0d0ed671f7ac74fb385854adf630deff55ad7aa5 (patch)
tree22a5d639cced47fc434e1a159d35ee2d95224789 /scripts
parent44b132d8893e9521b9c8a5cf99b862b25285b3c2 (diff)
improve xmake.spec
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpmbuild/SPECS/xmake.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec
index 5e4ce036f..ae2f83b11 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -38,7 +38,7 @@ cp core/src/demo/demo.b %{buildroot}%{_bindir}/%{name}
chmod 755 %{buildroot}%{_bindir}/%{name}
%check
-xmake --version
+%{buildroot}%{_bindir}/%{name} --version
%clean
rm -rf %{buildroot}