summaryrefslogtreecommitdiffstats
path: root/tools/np_build_from_sf
diff options
context:
space:
mode:
authordermoth <dermoth@nagiosplugins.org>2012-11-03 19:07:40 +0000
committerdermoth <dermoth@nagiosplugins.org>2012-11-03 19:07:40 +0000
commit42a7b3d6d6392a4f1a26090a8dc6de9ae93720f1 (patch)
tree7384c5a24b40a04e55d9b979e5bdbbbd5d5869af /tools/np_build_from_sf
parentc537d71a3af67d0df4e1e015f6b9dcbb505f08d2 (diff)
downloadmonitoring-plugins-42a7b3d6d6392a4f1a26090a8dc6de9ae93720f1.tar.gz
Add scripts that update man pages in drupal
Diffstat (limited to 'tools/np_build_from_sf')
-rwxr-xr-xtools/np_build_from_sf11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/np_build_from_sf b/tools/np_build_from_sf
new file mode 100755
index 00000000..7ba349a6
--- /dev/null
+++ b/tools/np_build_from_sf
@@ -0,0 +1,11 @@
1#!/bin/bash
2
3set -xeu
4
5temp=$(mktemp -d)
6trap "cd $HOME; rm -rf $temp; exit 1" EXIT
7curl -sS http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD.tar.gz|tar -C "$temp" --strip-components=1 -xzf -
8cd $temp
9./configure && make
10$HOME/bin/update_man_pages
11