summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
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
}