extension is stripped before passing through sanitizeFile()
This commit is contained in:
parent
ec9201caa9
commit
be718ad18c
2
atom
2
atom
@ -1110,8 +1110,6 @@ sanitizeFile() {
|
|||||||
# Filenames can't begin or end with ' '
|
# Filenames can't begin or end with ' '
|
||||||
string=${string/#+( )/}
|
string=${string/#+( )/}
|
||||||
string=${string/%+( )/}
|
string=${string/%+( )/}
|
||||||
string=${string//+( )./.}
|
|
||||||
string=${string//.+( )/.}
|
|
||||||
fi
|
fi
|
||||||
echo "$string"
|
echo "$string"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user