scripts installed by setuptools always get installed in /usr/bin.
[invirt/packages/invirt-dev.git] / invirt-build-conf
index 13ce3c4..84716a0 100755 (executable)
@@ -35,10 +35,10 @@ def main():
     # .close(). Oh well.
     conf_fd, conf_name = tempfile.mkstemp()
     conf = os.fdopen(conf_fd, 'r+')
-    build_handler = '/usr/sbin/invirt-submit-build'
+    build_handler = '/usr/bin/invirt-submit-build'
 
-    for pocket in config.git.pockets:
-        acl = authz.expandAdmin(getattr(config.git.pockets, pocket).acl, None)
+    for pocket in config.build.pockets:
+        acl = authz.expandAdmin(getattr(config.build.pockets, pocket).acl, None)
 
         acl_fd, acl_name = tempfile.mkstemp()
         acl_fd = os.fdopen(acl_fd, 'r+')