summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-23 22:38:20 +0800
committerruki <[email protected]>2020-09-23 22:38:20 +0800
commita41c87fb4411b03803dde2ad1843af7446cad446 (patch)
treeef93d22bfe6676da8b1df37f971ae67d86e3a275 /scripts
parent25f1ebc1000f8eff6f1bcd4874964ee27d15ee46 (diff)
fix clone submodule for xmake.spec
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpmbuild/SPECS/xmake.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec
index a9d00da95..f3a6ef99a 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -26,8 +26,9 @@ system to help users solve the integrated use of C/C++ dependent libraries.
%prep
rm -rf xmake-v%{version}
-git clone --recurse-submodules https://github.com/xmake-io/xmake.git -b dev xmake-v%{version}
+git clone https://github.com/xmake-io/xmake.git -b dev xmake-v%{version}
cd xmake-v%{version}
+git submodule update --init
%build
make build