SWFresourcelist() { echo " " cat $Resource | while read SRC; do CUSTOMTOOLNAMESPACE="" # strip out that -resource: SRC=`echo $SRC | sed 's/-resource://'` CUSTOMTOOLNAMESPACE=`echo $SRC | gawk -F, '{print $2}'` INCLUDE=`echo $SRC | gawk -F, '{print $1}'` if test -f $INCLUDE.prebuilt; then INCLUDE=$INCLUDE.prebuilt fi # convert all /'s to \\'s INCLUDE=`echo $INCLUDE | tr '/' '\\\\'` # strip off the path from the name of the resource LOGICALNAME=`echo $INCLUDE | sed 's/resources\\\\//' | sed 's/.prebuilt//'` echo " " echo " $LOGICALNAME" if test "x$CUSTOMTOOLNAMESPACE" != "x"; then echo " $CUSTOMTOOLNAMESPACE" fi echo " " done echo " " }