diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-18 22:15:24 +0100 | 
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-18 22:15:24 +0100 | 
| commit | d2fbe2895ac8d73c7661520b598034681bdbf24a (patch) | |
| tree | b3bfc27e56f039c0054f591660f75b3654d2a94d /bin/build-snapshot | |
| parent | c7e2646748dc435a18947483c2147a7197c9b983 (diff) | |
| download | site-d2fbe2895ac8d73c7661520b598034681bdbf24a.tar.gz | |
bin/build-*: Replace "nagios-plugins"
Replace "nagios-plugins" with "monitoring-plugins" in our build scripts.
Diffstat (limited to 'bin/build-snapshot')
| -rwxr-xr-x | bin/build-snapshot | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/bin/build-snapshot b/bin/build-snapshot index 2e7b74a..4c016c5 100755 --- a/bin/build-snapshot +++ b/bin/build-snapshot | |||
| @@ -20,7 +20,7 @@ export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' | |||
| 20 | prefix='/home/plugins' | 20 | prefix='/home/plugins' | 
| 21 | keep_days=2 | 21 | keep_days=2 | 
| 22 | snapshot_dir="$prefix/web/download/snapshot" | 22 | snapshot_dir="$prefix/web/download/snapshot" | 
| 23 | repository="$prefix/repositories/nagios-plugins.git" | 23 | repository="$prefix/repositories/monitoring-plugins.git" | 
| 24 | branches=${*:-'maint master pu'} | 24 | branches=${*:-'maint master pu'} | 
| 25 | myself=${0##*/} | 25 | myself=${0##*/} | 
| 26 | 26 | ||
| @@ -46,8 +46,8 @@ create_snapshot() | |||
| 46 | fi | 46 | fi | 
| 47 | 47 | ||
| 48 | version=$(git describe --abbrev=4 'HEAD' | sed 's/release-//') | 48 | version=$(git describe --abbrev=4 'HEAD' | sed 's/release-//') | 
| 49 | tarball="nagios-plugins-$version.tar.gz" | 49 | tarball="monitoring-plugins-$version.tar.gz" | 
| 50 | symlink="nagios-plugins-$branch.tar.gz" | 50 | symlink="monitoring-plugins-$branch.tar.gz" | 
| 51 | 51 | ||
| 52 | if [ ! -e "$snapshot_dir/$tarball" ] | 52 | if [ ! -e "$snapshot_dir/$tarball" ] | 
| 53 | then | 53 | then | 
