]> spindle.queued.net Git - midori/commitdiff
Make sure to create 'data' folder if NLS is disabled
authorChristian Dywan <christian@twotoasts.de>
Sun, 19 Apr 2009 15:03:55 +0000 (17:03 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 19 Apr 2009 15:03:55 +0000 (17:03 +0200)
wscript

diff --git a/wscript b/wscript
index 6f85c11d4feda361f94ba1d230a1466eb8fdb28a..66bb202a97e24eb233f0877bce29680582b7c1f0 100644 (file)
--- a/wscript
+++ b/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')