don't use ls to fill array
This commit is contained in:
parent
81b29b5eeb
commit
e943205f93
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ getAuthor() {
|
||||||
awk '/User: / { print $3 }' "${a}"
|
awk '/User: / { print $3 }' "${a}"
|
||||||
}
|
}
|
||||||
|
|
||||||
THEMES=( $(ls Themes/*.theme) )
|
THEMES=(Themes/*.theme)
|
||||||
for a in ${THEMES[@]}
|
for a in ${THEMES[@]}
|
||||||
do
|
do
|
||||||
FILE=$(basename $a)
|
FILE=$(basename $a)
|
||||||
|
|
Loading…
Reference in a new issue