[ostree] ostbuild: Fix documentation dir (should be 'doc')
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostbuild: Fix documentation dir (should be 'doc')
- Date: Mon, 16 Jan 2012 14:59:41 +0000 (UTC)
commit 813923943dfeedc0c8d39fcc522279a1177c3be4
Author: Colin Walters <walters verbum org>
Date: Mon Jan 16 09:57:00 2012 -0500
ostbuild: Fix documentation dir (should be 'doc')
src/ostbuild/pyostbuild/builtin_compile_one.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_compile_one.py b/src/ostbuild/pyostbuild/builtin_compile_one.py
index 08d3614..fb83dcc 100755
--- a/src/ostbuild/pyostbuild/builtin_compile_one.py
+++ b/src/ostbuild/pyostbuild/builtin_compile_one.py
@@ -197,8 +197,8 @@ class OstbuildCompileOne(builtins.Builtin):
runtime_path = os.path.join(self.ostbuild_resultdir, 'runtime')
devel_path = os.path.join(self.ostbuild_resultdir, 'devel')
- docs_path = os.path.join(self.ostbuild_resultdir, 'docs')
- for artifact_type in ['runtime', 'devel', 'docs']:
+ doc_path = os.path.join(self.ostbuild_resultdir, 'doc')
+ for artifact_type in ['runtime', 'devel', 'doc']:
resultdir = os.path.join(self.ostbuild_resultdir, artifact_type)
if os.path.isdir(resultdir):
shutil.rmtree(resultdir)
@@ -231,7 +231,7 @@ class OstbuildCompileOne(builtins.Builtin):
for dirname in _DOC_DIRS:
dirpath = os.path.join(tempdir, dirname)
if os.path.isdir(dirpath):
- dest = os.path.join(docs_path, dirname)
+ dest = os.path.join(doc_path, dirname)
self._install_and_unlink(dirpath, dest)
for filename in os.listdir(tempdir):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]