summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-26 08:35:08 +0800
committerruki <[email protected]>2020-09-26 08:35:08 +0800
commitf8267d32bb32ba9cf1463c58e8849c94c5226f16 (patch)
tree5af9bbeabc039efc2553f8a25e10ed39a6cbd009 /scripts
parent65b9510586afdba880a3f57fb112e92a3bee8653 (diff)
fix 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 94a00d44c..6d9460f8c 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -67,7 +67,7 @@ cp README.md %{buildroot}%{_datadir}
cp LICENSE.md %{buildroot}%{_datadir}
%check
-%{buildroot}%{_bindir}/%{name} --version
+XMAKE_ROOT=y %{buildroot}%{_bindir}/%{name} --version
%clean
rm -rf %{buildroot}