extension is stripped before passing through sanitizeFile()

This commit is contained in:
Vincent Riquer 2013-04-03 16:18:06 +02:00
parent ec9201caa9
commit be718ad18c

2
atom
View File

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