This commit is contained in:
Martin Rotter 2021-01-06 10:44:05 +01:00
parent 00519a8446
commit 23d6afd9a3

View File

@ -55,12 +55,12 @@ SEDREPLACE = "s|@APP_VERSION@|$$APP_VERSION|g; s|@APP_WIN_ARCH@|$$APP_WIN_ARCH|g
message($$MSG_PREFIX: Sed replace string: \"$$SEDREPLACE\")
# > \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\"
FULLSEDCMD = "$$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"$$SEDREPLACE\" \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\" > \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.out))\""
FULLSEDCMD = "$$shell_path($$shell_quote($$PWD/../../resources/scripts/sed/sed.exe)) -e \"$$SEDREPLACE\" \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.in))\" 1>\"$$system_path($$system_quote($$OUT_PWD/NSIS.definitions.nsh))\""
message($$MSG_PREFIX: Full sed command: $$FULLSEDCMD)
system($$FULLSEDCMD)
system(move \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.out))\" \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\")
#system(move \"$$system_path($$system_quote($$PWD/../../resources/nsis/NSIS.definitions.nsh.out))\" \"$$system_path($$system_quote($$OUT_PWD\NSIS.definitions.nsh))\")
system(xcopy /Y $$shell_path($$shell_quote($$PWD/../../resources/nsis/NSIS.template.in)) $$shell_path($$shell_quote($$OUT_PWD/)))
include(../../pri/install.pri)