From 42a7b3d6d6392a4f1a26090a8dc6de9ae93720f1 Mon Sep 17 00:00:00 2001 From: dermoth Date: Sat, 3 Nov 2012 19:07:40 +0000 Subject: Add scripts that update man pages in drupal --- tools/np_build_from_sf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tools/np_build_from_sf (limited to 'tools/np_build_from_sf') 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 @@ +#!/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 + -- cgit v1.2.3-74-g34f1