don't use ls to fill array

This commit is contained in:
Rasmus Steinke 2015-12-29 15:11:15 +01:00
parent 81b29b5eeb
commit e943205f93

View file

@ -14,7 +14,7 @@ getAuthor() {
awk '/User: / { print $3 }' "${a}"
}
THEMES=( $(ls Themes/*.theme) )
THEMES=(Themes/*.theme)
for a in ${THEMES[@]}
do
FILE=$(basename $a)