Make sure to create 'data' folder if NLS is disabled
This commit is contained in:
parent
0ecb074ea7
commit
19c57b4da7
1 changed files with 1 additions and 0 deletions
1
wscript
1
wscript
|
@ -310,6 +310,7 @@ def build (bld):
|
|||
bld.install_files (appdir, 'data/' + APPNAME + '.desktop')
|
||||
else:
|
||||
folder = os.path.dirname (bld.env['waf_config_files'][0]) + '/data'
|
||||
Utils.check_dir (folder)
|
||||
desktop = APPNAME + '.desktop'
|
||||
pre = open ('data/' + desktop + '.in')
|
||||
after = open (folder + '/' + desktop, 'w')
|
||||
|
|
Loading…
Reference in a new issue