New commits:
commit 1c67bdad3f5b85f934444d600208b0179ce7fb93
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
fix bug 13283
diff --git a/ChangeLog b/ChangeLog
index 7a6e78f..734abfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-03 Andrew Stitt <astitt AT sourcemage.org>
+ * build_api/common: gather_docs delineates between files and
+ directories. Now *rc matches config files, but not directories
+ (ie src). Bug 13283.
+
2006-12-02 Andrew Stitt <astitt AT sourcemage.org>
* libsorcery: fix filter() to use a temp file
* libsorcery: ldconfig is pointless when staging
diff --git a/etc/sorcery/config b/etc/sorcery/config
index 005f31c..4a9e152 100755
--- a/etc/sorcery/config
+++ b/etc/sorcery/config
@@ -151,7 +151,8 @@ GRIMOIRE_MANIFEST_ALGORITHM=sha1
SCREEN={SCREEN:-off}
cd $SOURCE_DIRECTORY
shopt -s nullglob
for i in ${DOCS}; do
if test -f "$i"; then
- file $i|grep -q executable && continue
- cp $SOURCE_DIRECTORY/${i} $DOC_DIR 2>/dev/null
- elif test -d "$i"; then
- cp -r $SOURCE_DIRECTORY/${i} $DOC_DIR 2>/dev/null
+ file -bi $i|grep -q ^application && continue
+ cp $SOURCE_DIRECTORY/${i} $DEST_DIR 2>/dev/null
+ fi
+ done
+
+ for i in ${DOC_DIRS}; do
+ if test -d "$i"; then
+ cp -r $SOURCE_DIRECTORY/${i} $DEST_DIR 2>/dev/null
fi
done
# making installed docs readable for all users.
- chmod -fR a+r $DOC_DIR
+ chmod -fR a+r $DEST_DIR
fi
[SM-Commit] GIT changes to master sorcery by Andrew Stitt (1c67bdad3f5b85f934444d600208b0179ce7fb93),
Andrew Stitt, 12/03/2006