forked from osmocom/wireshark
15 lines
292 B
Bash
15 lines
292 B
Bash
|
#!/bin/sh -e
|
||
|
# Patch lemon.c and lempar.c to silence static analyzer warnings.
|
||
|
# See also tools/lemon/README
|
||
|
|
||
|
# Strip trailing whitespace
|
||
|
sed -e 's/ \+$//' -i lemon.c lempar.c
|
||
|
|
||
|
# Other patches
|
||
|
for i in patches/*.patch; do
|
||
|
echo "Applying $i"
|
||
|
patch --silent -p1 -i "$i"
|
||
|
done
|
||
|
|
||
|
echo DONE
|