diff options
-rwxr-xr-x | trunk/src/mkbuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index fc2ce3b..d705929 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -833,7 +833,7 @@ function file_metainfo { function update_manifest_info { - # update Manifest metainfo for a given file + # update manifest metainfo for a given file # usage: update_manifest_info <file> <file_type> local tmpfile file="$1" file_type="`echo $2 | tr '[:lower:]' '[:upper:]'`" @@ -905,7 +905,10 @@ function edit_manifest { for i in `find $WORK | grep -E -v '(SlackBuild|old|slack-required|.mkbuild$|.tmp$|Manifest$)\*{0,1}$' | \ grep -E -v '(.diff$|.diff.gz$|.diff.bz2$|.patch$|.patch.gz$|.patch.bz2$)\*{0,1}$' | \ grep -v "/\.svn"`; do - if [ ! -d "$WORK/$i" ] && [ "`basename $i`" != "$DIST_SRC_NAME" ]; then + # Avoid folders, dotfiles and DIST files + if [ ! -d "$WORK/$i" ] && \ + [ "`basename $i`" != "$DIST_SRC_NAME" ] && \ + ! echo "`basename $i`" | grep -q -e "^\."; then update_manifest_info $i misc fi done |