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:
parent
1933106caa
commit
7d93ac1f6a
|
@ -118,7 +118,7 @@ chmod 0777 WORLDWRITEABLE
|
||||||
# Supported extensions
|
# Supported extensions
|
||||||
while read line; do
|
while read line; do
|
||||||
if [[ ! -f test"$line" ]]; then
|
if [[ ! -f test"$line" ]]; then
|
||||||
line="${line//\*/}"
|
line="${line//\*/.}"
|
||||||
if [[ "${line:0:1}" == "." ]]; then
|
if [[ "${line:0:1}" == "." ]]; then
|
||||||
touch ./DIRECTORY/test"$line"
|
touch ./DIRECTORY/test"$line"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue