]> spindle.queued.net Git - midori/commitdiff
Load extensions from the build folder if ./waf --run is used
authorChristian Dywan <christian@twotoasts.de>
Fri, 16 Jan 2009 19:27:56 +0000 (20:27 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 16 Jan 2009 19:27:56 +0000 (20:27 +0100)
wscript

diff --git a/wscript b/wscript
index 26fbf2b91ca39e2d62dd3c3371a46514ce1286d0..0f924741fc0f3989072b57ed2f3901109ed13851 100644 (file)
--- a/wscript
+++ b/wscript
@@ -387,6 +387,7 @@ def shutdown ():
         folder = os.path.dirname (Build.bld.env['waf_config_files'][0])
         try:
             command = folder + os.sep + APPNAME + os.sep + APPNAME
-            Utils.exec_command (command)
+            Utils.exec_command ('MIDORI_EXTENSION_PATH=' + folder + \
+                os.sep + 'extensions' + ' ' + command)
         except:
             Utils.pprint ('RED', "Failed to run application.")