still fixing
This commit is contained in:
@@ -34,7 +34,7 @@ bundlefunc () {
|
||||
listcomps () {
|
||||
compList=( )
|
||||
for ((i=0; i<${#bundles[@]}; i++ )) do
|
||||
bname=$( cat ${bundles[$i]}/bundle.xml | tr -d -c [:print:] | tr " " _ | sed 's,.*<name>\(.*\)</name>.*,\1,' )
|
||||
bname=$( cat ${bundles[$i]}/bundle.xml | tr -d -c "[:print:]" | tr " " _ | sed 's,.*<name>\(.*\)</name>.*,\1,' )
|
||||
[[ -a ${bundles[$i]}/bundle.xml ]] || echo Bundle ${bundles[$i]} not found || exit 1
|
||||
compList+=( $( find -L ${bundles[$i]} -maxdepth 3 -mindepth 3 -name component.xml -printf '%P\n' | sed -e 's,/component.xml,,' -e s,.*/,"\($bname\):", | sort ) )
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user