aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-21 16:21:22 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-21 16:21:22 +0000
commit081704756f1e679b54f75f3bf9c737318a68f691 (patch)
treed9dd91f1106a4af3e01fe92958fded3807cc398b
parent0faecacbf140c5787271b2e62df92355456d3bb0 (diff)
downloadsimplepkg-081704756f1e679b54f75f3bf9c737318a68f691.tar.gz
simplepkg-081704756f1e679b54f75f3bf9c737318a68f691.tar.bz2
minor fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@695 04377dda-e619-0410-9926-eae83683ac58
-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