summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 6407de15f76..bbcd156017f 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -375,7 +375,7 @@ kde5_src_prepare() {
if [[ ${KDE_BUILD_TYPE} = release ]] ; then
if [[ -d po ]] ; then
pushd po > /dev/null
- for lang in $(ls) ; do
+ for lang in *; do
if ! has ${lang} ${LINGUAS} ; then
if [[ ${lang} != CMakeLists.txt ]] ; then
rm -rf ${lang}
@@ -390,7 +390,7 @@ kde5_src_prepare() {
if [[ ${KDE_HANDBOOK} = true ]] ; then
pushd doc > /dev/null
- for lang in $(ls) ; do
+ for lang in *; do
if ! has ${lang} ${LINGUAS} ; then
comment_add_subdirectory ${lang}
fi