mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
deal with case where file doesn't exist
This commit is contained in:
parent
81a6d42279
commit
f7f4825c67
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ do_dir() {
|
|||
for FILE in $SRC_PATH/*; do
|
||||
if [ -d $FILE ]; then
|
||||
do_dir $SRC_PATH $DEST_PATH $(basename $FILE)
|
||||
else
|
||||
elif [ -e $FILE ]; then
|
||||
FILE=${FILE/$SRC_PATH/$DEST_PATH}
|
||||
if git ls-files $FILE --error-unmatch 2>/dev/null; then
|
||||
echo "skipping $FILE; it's under version control within this variant"
|
||||
|
|
Loading…
Reference in a new issue