summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-03-04 14:59:09 +0100
committerSebastian Schmelzer2011-03-04 14:59:09 +0100
commitba4117f10ace8f5587cfbcf5b814b8431d81d1b3 (patch)
treec7a151d9c8ef0cd480e96431d6b03187caafedb9 /src
parentanother vmchooser update (diff)
downloadcore-ba4117f10ace8f5587cfbcf5b814b8431d81d1b3.tar.gz
core-ba4117f10ace8f5587cfbcf5b814b8431d81d1b3.tar.xz
core-ba4117f10ace8f5587cfbcf5b814b8431d81d1b3.zip
vmchooser / xmlfilter: search recursive for xml files
Diffstat (limited to 'src')
-rwxr-xr-xsrc/os-plugins/plugins/vmchooser/files/xmlfilter.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh b/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh
index 5196992c..0252d9a6 100755
--- a/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh
+++ b/src/os-plugins/plugins/vmchooser/files/xmlfilter.sh
@@ -33,7 +33,7 @@ if [ -f ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf ]; then
. ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf
fi
-for FILE in $1/*.xml; do
+for FILE in $(find $1 -iname *.xml); do
# filter all xmls which aren't set active
if [ $(grep "<active param=.*true.*" ${FILE} | wc -l) -eq 1 ]; then
if [ -n ${vmchooser_env} ]; then