Fix SConstruct Mkdir exists warning and empty verbose stack pop warning in MUI2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6191 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
bbb592401a
commit
1e138ea336
2 changed files with 2 additions and 3 deletions
|
@ -80,8 +80,6 @@ License page
|
|||
!insertmacro MUI_UNSET MUI_LICENSEPAGE_CHECKBOX_TEXT_ACCEPT
|
||||
!insertmacro MUI_UNSET MUI_LICENSEPAGE_CHECKBOX_TEXT_DECLINE
|
||||
|
||||
!verbose pop
|
||||
|
||||
!macroend
|
||||
|
||||
!macro MUI_PAGE_LICENSE LICENSEDATA
|
||||
|
|
|
@ -207,7 +207,8 @@ else:
|
|||
defenv.Replace(BUILD_CONFIG = defenv.subst('$BUILD_PREFIX/config'))
|
||||
|
||||
# ensure the config directory exists
|
||||
defenv.Execute(Mkdir(defenv.Dir('#$BUILD_CONFIG')))
|
||||
if not Dir(defenv.Dir('#$BUILD_CONFIG')).exists():
|
||||
defenv.Execute(Mkdir(defenv.Dir('#$BUILD_CONFIG')))
|
||||
|
||||
# write configuration into sconf.h and defines.h
|
||||
sconf_h = open(defenv.File('#$BUILD_CONFIG/nsis-sconf.h').abspath, 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue