Browse Source

sde-cleanup-linger: enhanced to tolerate .gitignore files

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
825c897566
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/sde-cleanup-linger

+ 2
- 2
bin/sde-cleanup-linger

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: bin/sde-cleanup-linger
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -49,7 +49,7 @@ files_warn="-name DEADJOE -o -name *-[xX] \
# Print warnings for 'lingering' files
#
( bin/find ${sderootdirs} \( \
\( $files_warn -o -name '.[^.]*' \) \
\( \( $files_warn -o -name '.[^.]*' \) -a ! -name '.gitignore' \) \
-printf 'WARNING: Found %p\n' \
\) -o \( \
\( ! -type d ! -type f \) \

Loading…
Cancel
Save