File: apply.sh

package info (click to toggle)
tor 0.4.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 56,644 kB
  • sloc: ansic: 318,917; sh: 7,416; python: 1,829; makefile: 622; perl: 249; pascal: 141
file content (9 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# apply.sh:
# run spatch with appropriate includes and builtins for the Tor source code

top="$(dirname "$0")/../.."

spatch -macro_file_builtins "$top"/scripts/coccinelle/tor-coccinelle.h \
       -I "$top" -I "$top"/src -I "$top"/ext --defined COCCI "$@"