From: Simon Stelling Date: Tue, 18 Jul 2006 18:21:52 +0000 (-0000) Subject: fix up doman and prepman so that they work with the new .keep files in rev 3917 X-Git-Tag: v2.1.1~206 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=01b628f814d0a9bc3bc5bf0854410285216c4aed;p=portage.git fix up doman and prepman so that they work with the new .keep files in rev 3917 svn path=/main/trunk/; revision=3918 --- 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}