diff options
Diffstat (limited to 'src/gen_message.sh')
-rwxr-xr-x | src/gen_message.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gen_message.sh b/src/gen_message.sh deleted file mode 100755 index 47b81e6..0000000 --- a/src/gen_message.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -echo "#ifndef _MESSAGES_H_" -echo "#define _MESSAGES_H_" -echo "#define MUMBLE_MSGS \\" -while read message -do - underscore_name=$(echo "$message" | sed -e "s/\([a-z]\)\([A-Z]\)/\1_\L\2/g" -e "s/[A-Z]*/\L\0/g") - echo -e "\tMUMBLE_MSG(${message}, ${underscore_name}) \\" -done -echo -echo "#endif" |