summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-22 23:42:43 +0800
committerruki <[email protected]>2023-11-22 23:42:43 +0800
commit8a79ff572b0d822f54f3758a3dfa038a2edb8731 (patch)
tree0dbcafbac4728381f30f3a7a7f516eb811ac7e54 /core/src
parenta7ae0fe968989fd0ed2544123a0521e7e9928404 (diff)
fix install
Diffstat (limited to 'core/src')
-rwxr-xr-xcore/src/demo/xmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh
index 47e86b227..2969eb13c 100755
--- a/core/src/demo/xmake.sh
+++ b/core/src/demo/xmake.sh
@@ -40,7 +40,6 @@ target "demo"
# @see https://github.com/xmake-io/xmake/issues/3628
if is_host "msys"; then
after_install "xmake_after_install"
- add_installfiles "${projectdir}/scripts/msys/xmake.sh" "bin" "xmake"
fi
# add syslinks
@@ -62,6 +61,7 @@ xmake_after_install() {
local installdir=${2}
if test_eq "${project_generator}" "gmake"; then
print "\t@if test -f ${installdir}/bin/xmake.exe; then rm ${installdir}/bin/xmake.exe; fi" >> "${xmake_sh_makefile}"
+ print "\t@cp ${projectdir}/scripts/msys/xmake.sh ${installdir}/bin/xmake" >> "${xmake_sh_makefile}"
print "\t@cp ${buildir}/xmake.exe ${installdir}/share/xmake" >> "${xmake_sh_makefile}"
fi
}