summaryrefslogtreecommitdiffstats
path: root/bin/build-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-snapshot')
-rwxr-xr-xbin/build-snapshot6
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'
20prefix='/home/plugins' 20prefix='/home/plugins'
21keep_days=2 21keep_days=2
22snapshot_dir="$prefix/web/download/snapshot" 22snapshot_dir="$prefix/web/download/snapshot"
23repository="$prefix/repositories/nagios-plugins.git" 23repository="$prefix/repositories/monitoring-plugins.git"
24branches=${*:-'maint master pu'} 24branches=${*:-'maint master pu'}
25myself=${0##*/} 25myself=${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