aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/mkbuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild
index 9ab57a6..6e4e8de 100755
--- a/trunk/src/mkbuild
+++ b/trunk/src/mkbuild
@@ -795,6 +795,11 @@ function update_manifest {
update_manifest_info $WORK/slack-required
fi
+ # Add source code information
+ DIST_SRC_NAME="`eval "echo $CONST_STRING"`" # we need this to strip some escape strings
+ DIST_SRC_NAME="`eval "echo $DIST_SRC_NAME"`" # twice does the job
+ update_manifest_info $DIST_SRC_NAME dist
+
# Update patches
for i in `find $WORK | grep -E '(.diff$|.diff.gz$|.diff.bz2$|.patch$|.patch.gz$|.patch.bz2$)\*{0,1}$'`; do
if [ ! -d "$WORK/$i" ]; then
@@ -804,16 +809,11 @@ function update_manifest {
# Update miscelaneous information
for i in `find $WORK | grep -E -v '(SlackBuild|old|slack-required|.mkbuild$|.tmp$|Manifest$)\*{0,1}$'`; do
- if [ ! -d "$WORK/$i" ]; then
+ if [ ! -d "$WORK/$i" ] && [ "`basename $i`" != "$DIST_SRC_NAME" ]; then
update_manifest_info $i misc
fi
done
- # Add source code information
- DIST_SRC_NAME="`eval "echo $CONST_STRING"`" # we need this to strip some escape strings
- DIST_SRC_NAME="`eval "echo $DIST_SRC_NAME"`" # twice does the job
- update_manifest_info $DIST_SRC_NAME dist
-
}
# ----------------------------------------------------------------