fat32compat: nodes ending with "."
This commit is contained in:
parent
48e9314c23
commit
3bb47e76d4
3
atom
3
atom
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user