sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (544ab7b250579f0f751828a5497a195e4a565fc0)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (544ab7b250579f0f751828a5497a195e4a565fc0)
- Date: Mon, 1 Sep 2008 13:33:34 -0500
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 1 +
var/lib/sorcery/modules/build_api/common | 3 +++
2 files changed, 4 insertions(+)
New commits:
commit 544ab7b250579f0f751828a5497a195e4a565fc0
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
common: remove the doc dir if nothing was installed in gather_docs
diff --git a/ChangeLog b/ChangeLog
index c22b040..44bf331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
* libsorcery: modified verify_sources and verify_source, so it prints
the correct error and simplified verify_source
* cast: in cleanup,remove the backup dir if it is empty
+ * common: remove the doc dir if nothing was installed in gather_docs
2008-08-30 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* cast: don't compute SPELLS twice in main
diff --git a/var/lib/sorcery/modules/build_api/common
b/var/lib/sorcery/modules/build_api/common
index 368997b..148dc37 100755
--- a/var/lib/sorcery/modules/build_api/common
+++ b/var/lib/sorcery/modules/build_api/common
@@ -191,6 +191,9 @@ function real_gather_docs() { (
# making installed docs readable for all users.
chmod -fR a+r $DEST_DIR
+ # remove the doc dir if nothing was installed
+ rmdir $DEST_DIR 2> /dev/null
+
fi
) }
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (544ab7b250579f0f751828a5497a195e4a565fc0), Jaka Kranjc, 09/01/2008
Archive powered by MHonArc 2.6.24.