diff options
Diffstat (limited to 'dgbuilder/tools/getModuleName.sh')
-rwxr-xr-x | dgbuilder/tools/getModuleName.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dgbuilder/tools/getModuleName.sh b/dgbuilder/tools/getModuleName.sh new file mode 100755 index 00000000..cf0db193 --- /dev/null +++ b/dgbuilder/tools/getModuleName.sh @@ -0,0 +1,2 @@ +module=$(cat $1|egrep "module .*{"|awk '{print $2}'|sed -e 's/{//g') +echo $module |