fix up doman and prepman so that they work with the new .keep files in rev 3917
authorSimon Stelling <blubb@gentoo.org>
Tue, 18 Jul 2006 18:21:52 +0000 (18:21 -0000)
committerSimon Stelling <blubb@gentoo.org>
Tue, 18 Jul 2006 18:21:52 +0000 (18:21 -0000)
svn path=/main/trunk/; revision=3918

bin/doman
bin/prepman

index 49cf55e188b413264520980c4835ac08fdbbb3a5..deb4cf4ccb6709cf7bc53b2d27a81ef6462d0dcb 100755 (executable)
--- a/bin/doman
+++ b/bin/doman
@@ -19,7 +19,7 @@ for x in "$@" ; do
                i18n=${x:6}/
                continue
        fi
-       if [[ ${x} == ".keep" ]] ; then
+       if [[ ${x:0:6} == ".keep_" ]] ; then
                continue
        fi
 
index 2968bb1813bd88b2ec9c2c98910c4019280e4afa..1cc54a23fcdd96919e8c7817c55f63070885397d 100755 (executable)
@@ -17,7 +17,7 @@ if [[ ! -d ${z} ]] ; then
 fi
 
 for x in $(find "${z}"/ -type d 2>/dev/null) ; do
-       for y in $(find "${x}"/ -mindepth 1 -maxdepth 1 \( -type f -or -type l \) ! -name '.keep' 2>/dev/null) ; do
+       for y in $(find "${x}"/ -mindepth 1 -maxdepth 1 \( -type f -or -type l \) ! -name '.keep_*' 2>/dev/null) ; do
                if [[ -L ${y} ]] ; then
                        # Symlink ...
                        mylink=${y}