diff options
Diffstat (limited to 'core/src')
| -rwxr-xr-x | core/src/demo/xmake.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh index d50c6cbf3..47e86b227 100755 --- a/core/src/demo/xmake.sh +++ b/core/src/demo/xmake.sh @@ -60,6 +60,8 @@ target "demo" xmake_after_install() { local target=${1} local installdir=${2} - print "\t@if test -f ${installdir}/bin/xmake.exe; then rm ${installdir}/bin/xmake.exe; fi" >> "${xmake_sh_makefile}" - print "\t@cp ${buildir}/xmake.exe ${installdir}/share/xmake" >> "${xmake_sh_makefile}" + 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 ${buildir}/xmake.exe ${installdir}/share/xmake" >> "${xmake_sh_makefile}" + fi } |
