From 01b628f814d0a9bc3bc5bf0854410285216c4aed Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Tue, 18 Jul 2006 18:21:52 +0000 Subject: [PATCH] fix up doman and prepman so that they work with the new .keep files in rev 3917 svn path=/main/trunk/; revision=3918 --- bin/doman | 2 +- bin/prepman | 2 +- 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} -- 2.26.2