aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrunk/src/mkbuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild
index a7faaf4..cecae3e 100755
--- a/trunk/src/mkbuild
+++ b/trunk/src/mkbuild
@@ -783,12 +783,14 @@ function update_manifest {
# Update mkbuild metainformation
update_manifest_info $WORK/$MKBUILD_NAME
- # Update slack-required information
- update_manifest_info $WORK/slack-required
-
# Update SlackBuild information
update_manifest_info $WORK/$SLACKBUILD
+ # Update slack-required information
+ if [ -e "$WORK/slack-required" ]; then
+ update_manifest_info $WORK/slack-required
+ fi
+
# 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
@@ -797,7 +799,7 @@ function update_manifest {
done
# Update miscelaneous information
- for i in `find $WORK | grep -E -v '(SlackBuild|old|slack-required|.mkbuild$|.tmp$)\*{0,1}$'`; do
+ for i in `find $WORK | grep -E -v '(SlackBuild|old|slack-required|.mkbuild$|.tmp$|Manifest$)\*{0,1}$'`; do
if [ ! -d "$WORK/$i" ]; then
update_manifest_info $i misc
fi