diff --git a/anduril/anduril-component-doc b/anduril/anduril-component-doc index b04b76a..71f22d7 100755 --- a/anduril/anduril-component-doc +++ b/anduril/anduril-component-doc @@ -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,.*\(.*\).*,\1,' ) + bname=$( cat ${bundles[$i]}/bundle.xml | tr -d -c "[:print:]" | tr " " _ | sed 's,.*\(.*\).*,\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