We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ddedff commit 71db286Copy full SHA for 71db286
xmake/plugins/pack/nsis/main.lua
@@ -201,6 +201,10 @@ function _get_specvars(package)
201
specvars.PACKAGE_WORKDIR = path.absolute(os.projectdir())
202
specvars.PACKAGE_BINDIR = _translate_filepath(package, package:bindir())
203
specvars.PACKAGE_OUTPUTFILE = path.absolute(package:outputfile())
204
+ if specvars.PACKAGE_VERSION_BUILD then
205
+ -- @see https://github.com/xmake-io/xmake/issues/5306
206
+ specvars.PACKAGE_VERSION_BUILD = specvars.PACKAGE_VERSION_BUILD:gsub(" ", "_")
207
+ end
208
specvars.PACKAGE_INSTALLCMDS = function ()
209
return _get_installcmds(package)
210
end
0 commit comments