diff --git a/tools/ade b/tools/ade
index 5cbf03484ba4660523476402f08d86eb748559c7..103bccd5676eb4c519b4452a4041756bbf1a30ef 100755
--- a/tools/ade
+++ b/tools/ade
@@ -700,8 +700,7 @@ class Project:
         env = os.environ.copy()
         triplet = TargetTriplet(sysroot.version.arch)
         args  = ["./configure"]
-        args += ["--prefix=/Application/" + self.bundle_id]
-        args += ["--sysconfdir=/var/Applications/" + self.bundle_id + "/etc"]
+        args += ["--prefix=/Applications/" + self.bundle_id]
         args += ["--localstatedir=/var/Applications/" + self.bundle_id + "/var"]
 
         if debug:
@@ -806,7 +805,7 @@ class Bundle:
                 f.write("X-Apertis-BundleVersion={0}".format(bundle.version))
             os.makedirs(os.path.join(bundledir, 'export'))
             project.install(builddir)
-            shutil.copytree(os.path.join(builddir, 'Application', bundle.id),
+            shutil.copytree(os.path.join(builddir, 'Applications', bundle.id),
                             os.path.join(bundledir, 'files'))
 
             cmd = ['flatpak', 'build-export', repodir, bundledir]