File: getheaders

package info (click to toggle)
ndoutils 1.4b7-11
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,236 kB
  • ctags: 5,098
  • sloc: ansic: 16,861; sh: 3,477; sql: 2,359; makefile: 250; perl: 132
file content (18 lines) | stat: -rwxr-xr-x 699 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

#################################################################################
# Used by Ethan to grab the latest copy of Nagios include files
#
# NOTES:
#    - configure scripts must be run on Nagios CVS repos before this can be done
#    - config.h files are emptied, so it won't interefere with the local config.h
#      generated for this project
#################################################################################

# Get Nagios 3.x headers
cp --reply=yes ~/code/cvs/nagios/include/*.h nagios-3x
echo "/* empty */" > nagios-3x/config.h

# Get Nagios 2.x headers
cp --reply=yes ~/code/cvs/nagios-2x/nagios/include/*.h nagios-2x
echo "/* empty */" > nagios-2x/config.h