mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
ignore case where no files exist (so that /* doesn't expand)
This commit is contained in:
parent
6d6c345f94
commit
690f248e27
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ do_dir() {
|
|||
for FILE in $SRC_PATH/*; do
|
||||
if [ -d $FILE ]; then
|
||||
do_dir $SRC_PATH $DEST_PATH $(basename $FILE)
|
||||
elif [ ! -e $FILE ]; then
|
||||
:
|
||||
else
|
||||
FILE=${FILE/$SRC_PATH/$DEST_PATH}
|
||||
if git ls-files $FILE --error-unmatch 2>/dev/null; then
|
||||
|
|
Loading…
Add table
Reference in a new issue