From a31bf3bdca37827d9eb2f37c07d6e84eb2503187 Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Thu, 13 Mar 2014 13:07:47 +0200 Subject: [PATCH] still fixing --- anduril/anduril-component-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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