diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-08 13:45:29 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2009-01-08 13:45:29 +0000 |
commit | d960adcc39476f0f3078db0fb108091bd47fb083 (patch) | |
tree | ace92f26a40750f4074a5d8224debc87a5700a04 /trunk/src/mkbuild | |
parent | dec8121f1c20cae5a49b31201218c3f269847230 (diff) | |
download | simplepkg-d960adcc39476f0f3078db0fb108091bd47fb083.tar.gz simplepkg-d960adcc39476f0f3078db0fb108091bd47fb083.tar.bz2 |
attempting to fix #62
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@741 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/mkbuild')
-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 |