np_build_from_sf 263 B

1234567891011
  1. #!/bin/bash
  2. set -xeu
  3. temp=$(mktemp -d)
  4. trap "cd $HOME; rm -rf $temp; exit 1" EXIT
  5. curl -sS http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD.tar.gz|tar -C "$temp" --strip-components=1 -xzf -
  6. cd $temp
  7. ./configure && make
  8. $HOME/bin/update_man_pages