]> spindle.queued.net Git - midori/commitdiff
Shorten the paths used for --run to make them more easily reusable
authorChristian Dywan <christian@twotoasts.de>
Fri, 15 May 2009 18:30:24 +0000 (20:30 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 15 May 2009 18:30:24 +0000 (20:30 +0200)
wscript

diff --git a/wscript b/wscript
index bdca10302b974e3c7ddabe9c2a2d1af12321eb91..fd31663e871d3e95689cf4a61aec8c0c0427db73 100644 (file)
--- a/wscript
+++ b/wscript
@@ -395,6 +395,7 @@ def shutdown ():
         os.chdir ('..')
     elif Options.options.run:
         folder = os.path.dirname (Build.bld.env['waf_config_files'][0])
+        folder = os.path.relpath (folder)
         try:
             ext = 'MIDORI_EXTENSION_PATH=' + folder + os.sep + 'extensions'
             nls = 'NLSPATH=' + folder + os.sep + 'po'