summaryrefslogtreecommitdiffstats
path: root/tools/np_build_from_sf
blob: 7ba349a637c7b26520413ef9e2d65c39ca7294f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -xeu

temp=$(mktemp -d)
trap "cd $HOME; rm -rf $temp; exit 1" EXIT
curl -sS http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD.tar.gz|tar -C "$temp" --strip-components=1 -xzf -
cd $temp
./configure && make
$HOME/bin/update_man_pages