fat32compat: nodes ending with "."

This commit is contained in:
Vincent Riquer 2013-04-06 12:14:55 +02:00
parent 48e9314c23
commit 3bb47e76d4

3
atom
View File

@ -1186,6 +1186,9 @@ sanitizeFile() {
# Filenames can't begin or end with ' ' # Filenames can't begin or end with ' '
string=${string/#+( )/} string=${string/#+( )/}
string=${string/%+( )/} string=${string/%+( )/}
# Filenames can't end with '.'
string=${string/%+(.)/}
fi fi
echo "$string" echo "$string"
} }