summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-29 08:54:51 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-29 08:54:51 +0200
commit58ae5f7ec98bf360ab5cc9a2aeab7d4349083de7 (patch)
tree98d9caf61f68e4654a88efc7476c109e098c595a
parent2d52bd6a6ac81b6cb5c75a93f28a6c2ba6e2743b (diff)
downloadsmokeping-58ae5f7ec98bf360ab5cc9a2aeab7d4349083de7.tar.gz
smokeping-58ae5f7ec98bf360ab5cc9a2aeab7d4349083de7.tar.xz
improve release system
-rwxr-xr-xrelease-smokeping.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release-smokeping.sh b/release-smokeping.sh
index eba7b6b..801a223 100755
--- a/release-smokeping.sh
+++ b/release-smokeping.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
VERSION=`perl -n -e 'm/\QAC_INIT([rrdtool],[\E(.+?)\Q])\E/ && print $1' configure.ac`
-[ `svn status -q | wc -l` > 0 ] && echo "ERROR: commit all changes before release" && exit 1
+[ `svn status -q | wc -l` -gt 0 ] && echo "ERROR: commit all changes before release" && exit 1
cd /tmp
svn export svn://svn.oetiker.ch/smokeping/trunk/software smokeping-$$
cd smokeping-$$