summaryrefslogtreecommitdiffstats
path: root/dgbuilder/tools/getModuleName.sh
blob: cf0db193013e9ef6bc3dc1fae2ba8b7cdc3e1fe7 (plain)
1
2
module=$(cat $1|egrep "module .*{"|awk '{print $2}'|sed -e 's/{//g')
echo $module