summaryrefslogtreecommitdiff
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
parentmake .keep files package-dependant to fix bug 102436 (diff)
downloadportage-multirepo-01b628f814d0a9bc3bc5bf0854410285216c4aed.tar.gz
portage-multirepo-01b628f814d0a9bc3bc5bf0854410285216c4aed.tar.bz2
portage-multirepo-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
-rwxr-xr-xbin/doman2
-rwxr-xr-xbin/prepman2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/doman b/bin/doman
index 49cf55e1..deb4cf4c 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 2968bb18..1cc54a23 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}