summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-07-18 18:21:52 +0000
committerSimon Stelling <blubb@gentoo.org>2006-07-18 18:21:52 +0000
commit01b628f814d0a9bc3bc5bf0854410285216c4aed (patch)
tree0a053a094746251d9b6ed46714b161ef61c2cdc9 /bin
parent5e7ae8c3ca1eaae5dc80a3376b54d6cc4b45d16a (diff)
downloadportage-01b628f814d0a9bc3bc5bf0854410285216c4aed.tar.gz
portage-01b628f814d0a9bc3bc5bf0854410285216c4aed.tar.bz2
portage-01b628f814d0a9bc3bc5bf0854410285216c4aed.zip
fix up doman and prepman so that they work with the new .keep files in rev 3917
svn path=/main/trunk/; revision=3918
Diffstat (limited to 'bin')
-rwxr-xr-xbin/doman2
-rwxr-xr-xbin/prepman2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/doman b/bin/doman
index 49cf55e18..deb4cf4cc 100755
--- 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
diff --git a/bin/prepman b/bin/prepman
index 2968bb181..1cc54a23f 100755
--- a/bin/prepman
+++ b/bin/prepman
@@ -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}