pidl .cnf ...
[wireshark-sm.git] / prepare-pidl-patch
blob2aeb7a3b4d6a194de2a0b70501573541ed040e1b
1 #!/bin/bash
4 set -u
5 set -e
7 WIRESHARK_COMMIT=$1
8 git format-patch --stdout -1 ${WIRESHARK_COMMIT} | \
9 sed -e 's!\[PATCH\] ! [PATCH] pidl: !g' | \
10 sed -e 's!tools/pidl/!pidl/!g' | \
11 sed -e "s!^---\$!(wireshark commit ${WIRESHARK_COMMIT})\n---!g" | \
12 cat