Fixed a bug where test files for lines with a leading asterisk in LS_COLORS would not have the 'test.' prefix

This commit is contained in:
Ryan Delaney 2015-07-29 18:05:55 -07:00
parent 1933106caa
commit 7d93ac1f6a

View file

@ -118,7 +118,7 @@ chmod 0777 WORLDWRITEABLE
# Supported extensions
while read line; do
if [[ ! -f test"$line" ]]; then
line="${line//\*/}"
line="${line//\*/.}"
if [[ "${line:0:1}" == "." ]]; then
touch ./DIRECTORY/test"$line"
else