Parcourir la source

[trac810] Find the plugins from build

Michal 'vorner' Vaner il y a 14 ans
Parent
commit
9303e9a05b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/bin/cfgmgr/b10-cfgmgr.py.in

+ 1 - 1
src/bin/cfgmgr/b10-cfgmgr.py.in

@@ -41,7 +41,7 @@ if "B10_FROM_SOURCE" in os.environ:
         DATA_PATH = os.environ["B10_FROM_SOURCE_LOCALSTATEDIR"]
     else:
         DATA_PATH = os.environ["B10_FROM_SOURCE"]
-    PLUGIN_PATH = [] #FIXME Where should plugins come from? And how to find it?
+    PLUGIN_PATH = [DATA_PATH + '/src/bin/cfgmgr/plugins']
 else:
     PREFIX = "@prefix@"
     DATA_PATH = "@localstatedir@/@PACKAGE@".replace("${prefix}", PREFIX)