mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Use pushDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
4
build.py
4
build.py
@@ -610,11 +610,9 @@ def build_wx(options, args):
|
||||
# Build the wx message catalogs, but first check that there is a msgfmt
|
||||
# command available
|
||||
if findCmd('msgfmt'):
|
||||
old = os.getcwd()
|
||||
os.chdir(os.path.join(wxDir(), 'locale'))
|
||||
pwd = pushDir(posixjoin(wxDir(), 'locale'))
|
||||
print 'Building message catalogs'
|
||||
runcmd('make allmo')
|
||||
os.chdir(old)
|
||||
else:
|
||||
print "WARNING: msgfmt command not found, message catalogs not rebulit.\n" \
|
||||
" Please install gettext and associated tools."
|
||||
|
||||
Reference in New Issue
Block a user